Skip to content

Commit

Permalink
Add better logging for when there is an error updating the local repo
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhorridge committed May 24, 2024
1 parent 0172ef7 commit 01599b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ var record = linkRepository.findById(projectId);
var replacementRecord = theRecord.withUpdatedStatus(Instant.now(), false);
linkRepository.save(replacementRecord);
} catch (IOException e) {
logger.info("Unable to update repository");
logger.error("Unable to update repository", e);
var updateFailed = theRecord.withUpdateFailed(e.getMessage());
linkRepository.save(updateFailed);
}
Expand Down

0 comments on commit 01599b0

Please sign in to comment.