generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(error-handling): improve error handling by removing try-catc…
…h blocks - Removed unnecessary try-catch blocks from `delete.ts`, `branch.ts`, `purge.ts`, `unique_note.ts`, and `upload.ts` by incorporating a new `EnveloppeErrors` class for error handling - Enhanced `Logs` class with a `writeToLog` method for improved error logging - Introduced `EnveloppeErrors` class for consistent error management - Updated `token_path.ts` to use `EnveloppeErrors` for error handling - Adjusted error handling in `main.ts` by adding event listeners for unhandled rejections and errors
- Loading branch information
Showing
8 changed files
with
290 additions
and
292 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.