Fixing WA crashing in Firefox private mode
Due to the way we now handle the browser cache, previously ignored errors in the Cache API were now explicitly thrown, preventing the loading of Firefox in private mode. This commit fixes the issue and improves the stacktrace display of errors at the same time.
This commit is contained in:
@@ -168,6 +168,9 @@ class ConnectionManager {
|
||||
}
|
||||
} catch (err) {
|
||||
console.error(err);
|
||||
if (err instanceof Error) {
|
||||
console.error(err.stack);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
const query = urlParams.toString();
|
||||
|
||||
Reference in New Issue
Block a user