Skip to content

Commit

Permalink
more log
Browse files Browse the repository at this point in the history
  • Loading branch information
stonebuzz committed Jul 3, 2024
1 parent 695eb06 commit 14d9cfb
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,11 @@ private void resolveRestrictions() {
AgentLog.e("EMM - JSON " + jo.toString(););
preferences.saveJSONObject(serverConfig.getString("server_url"), jo);
enterpriseFeedback(getApplicationContext(), "server_url", "server added / updated successfully", serverConfig.getString("server_url"), KeyedAppState.SEVERITY_INFO);
AgentLog.e("EMM - server added / updated successfully");
} catch (JSONException e) {
enterpriseFeedback(getApplicationContext(), "server_url", "error while adding/updating server -> " + e.getMessage(), serverConfig.getString("server_url"), KeyedAppState.SEVERITY_ERROR);
AgentLog.e(e.getMessage());
AgentLog.e("EMM - error while adding/updating server"),
AgentLog.e("EMM - " + e.getMessage());
}
}
} else {
Expand Down

0 comments on commit 14d9cfb

Please sign in to comment.