We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a1a84e commit 84ecfa5Copy full SHA for 84ecfa5
apps/sim/tools/error-extractors.ts
@@ -47,7 +47,10 @@ const ERROR_EXTRACTORS: ErrorExtractorConfig[] = [
47
if (errorInfo?.data?.errorMessage) {
48
return errorInfo.data.errorMessage
49
}
50
- if (Array.isArray(errorInfo?.data?.errorMessages) && errorInfo.data.errorMessages.length > 0) {
+ if (
51
+ Array.isArray(errorInfo?.data?.errorMessages) &&
52
+ errorInfo.data.errorMessages.length > 0
53
+ ) {
54
return errorInfo.data.errorMessages.join(', ')
55
56
if (errorInfo?.data?.message) {
0 commit comments