« get me outta code hell

Group browse - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/index.js
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-05-31 16:55:29 -0300
committerFlorrie <towerofnix@gmail.com>2018-05-31 16:55:29 -0300
commitf633034befb44ba0465271c464b063ddaa10c552 (patch)
tree7c292be56127b8e568113230f030c0b81ecf8970 /index.js
parentf721509d54832f02aa6cd7f7f8a0782dd551b79a (diff)
Group browse
Diffstat (limited to 'index.js')
-rw-r--r--index.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/index.js b/index.js
index 5546f6d..676a5f1 100644
--- a/index.js
+++ b/index.js
@@ -55,7 +55,7 @@ async function main() {
     ]
   }
 
-  // grouplike = require('./flat.json')
+  // grouplike = require('./library.json')
 
   grouplike = updatePlaylistFormat(grouplike)
 
@@ -69,4 +69,7 @@ async function main() {
   }, 50)
 }
 
-main().catch(err => console.error(err))
+main().catch(err => {
+  console.error(err)
+  process.exit(1)
+})