Skip to content

Commit

Permalink
updated throwing an error
Browse files Browse the repository at this point in the history
  • Loading branch information
klakhov committed Mar 29, 2024
1 parent f9ca01e commit 97dcbe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cvat-core/src/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ Object.defineProperties(Logger.prototype.save, {
// that is why we add this.collection
this.collection = [...collectionToSend, ...this.collection];

await Promise.reject(error);
throw error;
} finally {
this.saving = false;
}
Expand Down

0 comments on commit 97dcbe7

Please sign in to comment.