Skip to content

Commit 159924e

Browse files
committed
Improve error handling
1 parent 4a0d985 commit 159924e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Service/ScannerService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ private function scanPad(ScannerServiceCallbackInterface $callback): void
215215
}
216216

217217
$socketIoClient->close();
218-
} catch (ServerConnectionFailureException $e) {
218+
} catch (Exception $e) {
219219
$callback->onScanPadException($e);
220220
}
221221
}

0 commit comments

Comments
 (0)