リファクタリング

This commit is contained in:
ろむねこ 2024-07-08 11:27:43 +09:00
parent 4d3b7ac6d2
commit 446ba17cca
Signed by: Fujimatsu
GPG Key ID: FA1F39A1BA37D168

View File

@ -166,8 +166,7 @@ public class KSActionsImpl implements KSActions {
logger.error("Error fetching history list: " + response.errorBody().string());
throw new RuntimeException("Error fetching history list: " + response.errorBody().string());
}
HistoryListResponse responseBody = response.body();
return responseBody;
return response.body();
} catch (Exception e) {
logger.error("Error fetching history list");
throw new RuntimeException(e);