File tree Expand file tree Collapse file tree
src/main/java/com/exceptionless/exceptionlessclient/settings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -53,6 +53,9 @@ public SettingsResponse getSettings(long version) {
5353 if (bodyStr == null ) {
5454 return SettingsResponse .builder ().code (response .code ()).body ("" ).build ();
5555 }
56+ if (response .code () / 100 != 2 ) {
57+ return SettingsResponse .builder ().code (response .code ()).body (bodyStr ).build ();
58+ }
5659
5760 ServerSettings serverSettings =
5861 Utils .JSON_MAPPER .readValue (bodyStr , new TypeReference <ServerSettings >() {});
Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ public void updateSettings() {
8888
8989 private boolean shouldNotUpdate (SettingsResponse response ) {
9090 if (response .isNotModified ()) {
91- LOG .trace ("No need to update, settings are not modified" );
91+ LOG .info ("No need to update, settings are not modified" );
9292 return true ;
9393 }
9494 if (!response .isSuccess ()) {
You can’t perform that action at this time.
0 commit comments