mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-11-03 11:22:25 +00:00
Fix syntax errors blocking app bootstrap
This commit is contained in:
1 parent
78ce75ef62
commit
0a2a2c4e78
18 files changed
+80
-64
No files matched your search
@@ -350,13 +350,17 @@ export default class WatchHistoryController {
|
||||
try {
|
||||
const result = this.watchHistoryService.snapshot(undefined, { reason });
|
||||
return Promise.resolve(result).catch((error) => {
|
||||
devLogger.warn(`[${context] Watch history flush failed:`, error);
|
||||
}
|
||||
devLogger.warn(
|
||||
`[${context}] Watch history flush failed:`,
|
||||
error,
|
||||
);
|
||||
throw error;
|
||||
});
|
||||
} catch (error) {
|
||||
devLogger.warn(`[${context] Failed to queue watch history flush:`, error);
|
||||
}
|
||||
devLogger.warn(
|
||||
`[${context}] Failed to queue watch history flush:`,
|
||||
error,
|
||||
);
|
||||
return Promise.reject(error);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user