File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
src/main/java/com/exceptionless/exceptionlessclient/settings Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,9 @@ public SettingsResponse getSettings(long version) {
53
53
if (bodyStr == null ) {
54
54
return SettingsResponse .builder ().code (response .code ()).body ("" ).build ();
55
55
}
56
+ if (response .code () / 100 != 2 ) {
57
+ return SettingsResponse .builder ().code (response .code ()).body (bodyStr ).build ();
58
+ }
56
59
57
60
ServerSettings serverSettings =
58
61
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() {
88
88
89
89
private boolean shouldNotUpdate (SettingsResponse response ) {
90
90
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" );
92
92
return true ;
93
93
}
94
94
if (!response .isSuccess ()) {
You can’t perform that action at this time.
0 commit comments