Fix syntax errors blocking app bootstrap

This commit is contained in:
thePR0M3TH3AN committed 2025-10-15 15:08:55 -04:00
1 parent 78ce75ef62
commit 0a2a2c4e78
18 files changed
+80 -64

No files matched your search

+8 -4
View File
@@ -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);
}
}