diff options
| author | 2021-12-19 15:38:41 +0700 | |
|---|---|---|
| committer | 2021-12-19 15:38:41 +0700 | |
| commit | 010fd94e9dbe7943c069bda3e1f9fd922dc32967 (patch) | |
| tree | 0853223b16b92a9a37a9d6dcb42ec77942a13f1b /source/features/bugs-tab.tsx | |
| parent | 1f7168077b39a9011648d283d53b953d879bd11f (diff) | |
| download | refined-github-010fd94e9dbe7943c069bda3e1f9fd922dc32967.tar.gz refined-github-010fd94e9dbe7943c069bda3e1f9fd922dc32967.tar.zst refined-github-010fd94e9dbe7943c069bda3e1f9fd922dc32967.zip | |
Meta: Correctly display "token missing" errors in `bugs-tab` (#5224)
Diffstat (limited to 'source/features/bugs-tab.tsx')
| -rw-r--r-- | source/features/bugs-tab.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/features/bugs-tab.tsx b/source/features/bugs-tab.tsx index a72b9fa2..2e50d25b 100644 --- a/source/features/bugs-tab.tsx +++ b/source/features/bugs-tab.tsx @@ -131,7 +131,7 @@ async function addBugsTab(): Promise<void | false> { bugsCounter.title = bugCount > 999 ? String(bugCount) : ''; } catch (error: unknown) { bugsCounter.remove(); - features.log.error(import.meta.url, error); + throw error; // Likely an API call error that will be handled by the init } } |
