We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 673fffd commit c76968bCopy full SHA for c76968b
src/AbstractBouncer.php
@@ -162,7 +162,7 @@ public function getRemediationForIp(string $ip): string
162
try {
163
return $this->capRemediationLevel($this->getRemediationEngine()->getIpRemediation($ip));
164
} catch (\Exception $e) {
165
- throw new BouncerException($e->getMessage());
+ throw new BouncerException($e->getMessage(), $e->getCode(), $e);
166
}
167
168
@@ -227,7 +227,7 @@ public function run(): bool
227
'line' => $e->getLine(),
228
]);
229
if (true === $this->getConfig('display_errors')) {
230
231
232
233
0 commit comments