Skip to content

Commit

Permalink
Merge pull request #772 from folio-org/tmp-422-exception
Browse files Browse the repository at this point in the history
Logging improvements
  • Loading branch information
siarhei-charniak authored Oct 2, 2024
2 parents 5299f91 + 86fe290 commit 5c6cc7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/org/folio/inventory/resources/Instances.java
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ private void updateInstance(Instance instance, RoutingContext rContext, WebConte
private boolean areInstanceBlockedFieldsChanged(Instance existingInstance, Instance updatedInstance) {
JsonObject existingInstanceJson = JsonObject.mapFrom(existingInstance);
JsonObject updatedInstanceJson = JsonObject.mapFrom(updatedInstance);
log.info("Existing: {}", existingInstanceJson);
log.info("Updated: {}", updatedInstanceJson);

// We still need zeroing "succeedingInstanceId" in precedingTitles and "precedingInstanceId" in succeedingTitles
// because these fields are not provided for/from UI requests. We just ignore these fields on comparing as a blocked fields.
Expand Down

0 comments on commit 5c6cc7a

Please sign in to comment.