Merge pull request #1708 from thecodingmachine/fix_firefox_private_browsing
Fixing WA crashing in Firefox private mode
This commit is contained in:
commit
787cc508b8
3 changed files with 13 additions and 3 deletions
|
@ -78,6 +78,9 @@ export class ErrorScene extends Phaser.Scene {
|
|||
*/
|
||||
public static showError(error: unknown, scene: ScenePlugin): void {
|
||||
console.error(error);
|
||||
if (error instanceof Error) {
|
||||
console.error("Stacktrace: ", error.stack);
|
||||
}
|
||||
console.trace();
|
||||
|
||||
if (typeof error === "string" || error instanceof String) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue