File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1+ # 2.1.2
2+
3+ #### Bugfixes
4+
5+ - Ignores ` hoxy ` errors (mitigates a cause of crashes)
6+
17# 2.1.1
28
39#### Bugfixes
Original file line number Diff line number Diff line change 1+ import * as process from 'process' ;
12import { app , BrowserWindow , ipcMain as ipc } from 'electron' ;
23import localShortcut from 'electron-localshortcut' ;
34import browserLauncher from '@james-proxy/james-browser-launcher' ;
@@ -23,6 +24,11 @@ const urlMapper = createUrlMapper({
2324 autoload : true
2425} ) ;
2526
27+ process . on ( 'uncaughtException' , ( error ) => {
28+ // TODO remove this global handler!
29+ console . warn ( 'Ignored fatal error!' , error ) ; // eslint-disable-line no-console
30+ } ) ;
31+
2632console . log ( 'Starting proxy...' ) ; // eslint-disable-line no-console
2733const proxy = createProxy ( config , urlMapper . urlMapper ) ;
2834
You can’t perform that action at this time.
0 commit comments