Skip to content

Commit

Permalink
support safety improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
kaliiiiiiiiii committed May 10, 2024
1 parent 9663bd6 commit 3488d1e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion brotector.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ class Brotector {
return "";
}
});
var c = console.context();
var c = undefined
try{c = console.context("Brotector: ");}catch{}
if (c===undefined){c=console}
c.debug(e);
this._nameLookupCount = 0
c.debug(new Error(""))
Expand Down

0 comments on commit 3488d1e

Please sign in to comment.