Skip to content

Commit

Permalink
log if failed to check license back in
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenMassaro committed Jul 12, 2024
1 parent 02550c4 commit f8efb26
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/liquibase/AwsLicenseService.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ public class AwsLicenseService implements LicenseService {
.build()
);

if (!checkInLicenseResponse.sdkHttpResponse().isSuccessful()) {
Scope.getCurrentScope().getLog(AwsLicenseService.class).warning("Failed to check license back in. License will remain checked out until its TTL expires. " + checkInLicenseResponse.sdkHttpResponse().statusCode() + " " + checkInLicenseResponse.sdkHttpResponse().statusText().orElse(""));
}

return checkoutLicenseResponse;
}

Expand Down

0 comments on commit f8efb26

Please sign in to comment.