mirror of
https://github.com/Sheldan/Sissi.git
synced 2026-01-26 19:21:43 +00:00
[SIS-xxx] fixing logging setup in case of a debra donation loading error
This commit is contained in:
@@ -148,10 +148,8 @@ public class DonationService {
|
|||||||
.build();
|
.build();
|
||||||
Response response = okHttpClient.newCall(request).execute();
|
Response response = okHttpClient.newCall(request).execute();
|
||||||
if(!response.isSuccessful()) {
|
if(!response.isSuccessful()) {
|
||||||
if (log.isDebugEnabled()) {
|
log.error("Failed to retrieve donation response. Response had code {} with body {} and headers {}.",
|
||||||
log.error("Failed to retrieve donation response. Response had code {} with body {}.",
|
response.code(), response.body().string(), response.headers());
|
||||||
response.code(), response.body());
|
|
||||||
}
|
|
||||||
throw new DonationAmountNotFoundException();
|
throw new DonationAmountNotFoundException();
|
||||||
}
|
}
|
||||||
Gson gson = getGson();
|
Gson gson = getGson();
|
||||||
|
|||||||
Reference in New Issue
Block a user