mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Fall back to console if log info can't be relayed to logger
This commit is contained in:
parent
b0122bb9fc
commit
28e1424058
1 changed files with 2 additions and 0 deletions
|
|
@ -187,6 +187,8 @@ const onScriptletMessageInjector = (( ) => {
|
|||
case 'object':
|
||||
if ( self.vAPI && self.vAPI.messaging ) {
|
||||
self.vAPI.messaging.send('contentscript', msg);
|
||||
} else {
|
||||
console.log(`[uBO][${msg.type}]${msg.text}`);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue