mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 02:18:15 +01:00
Use window.log in browser context, turn on console eslint rule
This commit is contained in:
@@ -35,8 +35,11 @@ ProtoParser.prototype = {
|
||||
}
|
||||
|
||||
return proto;
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
} catch (error) {
|
||||
window.log.error(
|
||||
'ProtoParser.next error:',
|
||||
error && error.stack ? error.stack : error
|
||||
);
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user