Skip to content

Commit 6f356a1

Browse files
committed
fix: pass previous exception in import error re-throw
1 parent af94797 commit 6f356a1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Filament/Integration/Support/Imports/ImportColumnConfigurator.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,9 +185,7 @@ private function resolveLookupValue(CustomField $customField, mixed $value): int
185185
throw $throwable;
186186
}
187187

188-
throw new RowImportFailedException(
189-
'Error resolving lookup value: '.$throwable->getMessage()
190-
);
188+
throw new RowImportFailedException('Error resolving lookup value: '.$throwable->getMessage(), $throwable->getCode(), $throwable);
191189
}
192190
}
193191

0 commit comments

Comments
 (0)