We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46c2c38 commit b7923dbCopy full SHA for b7923db
1 file changed
src/Migration/Sources/CSV.php
@@ -320,12 +320,12 @@ private function withCsvStream(callable $callback): void
320
$this->filePath,
321
new Device\Local('/'),
322
);
323
- } catch (\Exception) {
+ } catch (\Exception $e) {
324
$success = false;
325
}
326
327
if (!$success) {
328
- throw new \Exception('Failed to transfer CSV file from device to local storage.');
+ throw new \Exception('Failed to transfer CSV file from device to local storage.', previous: $e ?? null);
329
330
331
0 commit comments