Skip to content

Commit 84ecfa5

Browse files
committed
chore(tools): lint formatting fix for error extractor
1 parent 4a1a84e commit 84ecfa5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/sim/tools/error-extractors.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ const ERROR_EXTRACTORS: ErrorExtractorConfig[] = [
4747
if (errorInfo?.data?.errorMessage) {
4848
return errorInfo.data.errorMessage
4949
}
50-
if (Array.isArray(errorInfo?.data?.errorMessages) && errorInfo.data.errorMessages.length > 0) {
50+
if (
51+
Array.isArray(errorInfo?.data?.errorMessages) &&
52+
errorInfo.data.errorMessages.length > 0
53+
) {
5154
return errorInfo.data.errorMessages.join(', ')
5255
}
5356
if (errorInfo?.data?.message) {

0 commit comments

Comments
 (0)