Skip to content

Commit

Permalink
Exit 1 on user-provided CDXJ error
Browse files Browse the repository at this point in the history
  • Loading branch information
matteocargnelutti committed Mar 29, 2024
1 parent b0e957a commit fcb63a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,8 @@ program.command('create')
}
} catch (err) {
log.trace(err)
log.warn('An error occurred while processing user-provided CDXJ indices.')
log.error('An error occurred while processing user-provided CDXJ indices.')
process.exit(1)
}
}

Expand Down

0 comments on commit fcb63a2

Please sign in to comment.