aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tools/import-youtube.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tools/import-youtube.ts')
-rw-r--r--server/tools/import-youtube.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tools/import-youtube.ts b/server/tools/import-youtube.ts
index d57798d5b..96bce29b5 100644
--- a/server/tools/import-youtube.ts
+++ b/server/tools/import-youtube.ts
@@ -20,7 +20,8 @@ if (
20 !program['password'] || 20 !program['password'] ||
21 !program['youtubeUrl'] 21 !program['youtubeUrl']
22) { 22) {
23 throw new Error('All arguments are required.') 23 console.error('All arguments are required.')
24 process.exit(-1)
24} 25}
25 26
26run().catch(err => console.error(err)) 27run().catch(err => console.error(err))