fix: cli error handling
This commit is contained in:
parent
f53ff45057
commit
f1412cdffa
1 changed files with 5 additions and 1 deletions
|
@ -48,7 +48,11 @@ void (async () => {
|
|||
if (!isLocalFile) {
|
||||
// request scoreinfo
|
||||
scoreinfo = await ScoreInfoHtml.request(fileInit)
|
||||
await getActualId(scoreinfo as any)
|
||||
try {
|
||||
await getActualId(scoreinfo as any)
|
||||
} catch (err) {
|
||||
console.error(err)
|
||||
}
|
||||
|
||||
// confirmation
|
||||
const { confirmed } = await inquirer.prompt<Params>({
|
||||
|
|
Loading…
Reference in a new issue