diff --git a/bin/ungit b/bin/ungit index 439872f98..74bbac231 100755 --- a/bin/ungit +++ b/bin/ungit @@ -85,5 +85,8 @@ server.on('error', (e) => { if (e.code == 'EADDRINUSE') { console.log('Ungit server already running'); navigate(); + } else { + console.error('Failed to run server: ', e) + process.exit(1) } });