Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,13 @@ public void sync(AuthenticationInfo subject) throws IOException {
}

private void pushNotes(AuthenticationInfo subject, List<String> ids, NotebookRepo localRepo,
NotebookRepo remoteRepo) throws IOException {
NotebookRepo remoteRepo) {
for (String id : ids) {
remoteRepo.save(localRepo.get(id, subject), subject);
try {
remoteRepo.save(localRepo.get(id, subject), subject);
} catch (IOException e) {
LOG.error("Failed to push note to storage, moving onto next one", e);
}
}
}

Expand Down