mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
disable electron logger
This commit is contained in:
+5
-5
@@ -46,8 +46,8 @@ contextBridge.exposeInMainWorld('plebbitJsNativeFunctions', require('@plebbit/pl
|
||||
contextBridge.exposeInMainWorld('defaultPlebbitOptions', defaultPlebbitOptions)
|
||||
|
||||
// try/catch localStorage.debug because causes unknown error sometimes
|
||||
try {
|
||||
if (isDev) localStorage.debug = 'plebbit-js:*,plebbit-react-hooks:*,plebchan:*';
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
}
|
||||
// try {
|
||||
// if (isDev) localStorage.debug = 'plebbit-js:*,plebbit-react-hooks:*,plebchan:*';
|
||||
// } catch (e) {
|
||||
// console.log(e);
|
||||
// }
|
||||
Reference in New Issue
Block a user