Stop throwing in frontend code (#2654)

Return error instead of throw
This commit is contained in:
49fl
2024-06-24 11:45:40 -04:00
committed by GitHub
parent f7196e7eb0
commit f4877cb160
67 changed files with 5127 additions and 4523 deletions

View File

@ -501,7 +501,7 @@ export const commandBarMachine = createMachine(
}
} catch (e) {
console.error('Error validating argument', context, e)
throw e
return reject(e)
}
}