Skip to content
This repository has been archived by the owner on Jul 25, 2023. It is now read-only.

Commit

Permalink
Another error handling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
swernerx committed Jun 5, 2020
1 parent 8f4b208 commit 3d2695f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,11 @@ async function main() {

try {
await queue.addAll(fileTasks)
} catch {
} catch (except) {
if (except.name) {
console.warn(`${except.name}: ${except.message}`)
}

process.exit(1)
}
}
Expand Down

0 comments on commit 3d2695f

Please sign in to comment.