Skip to content

Commit 7feb1ea

Browse files
authored
Merge pull request #704 from favicode/fix/generic-error-on-blocking-controller
Catching Throwable in Blocking Controller
2 parents c54b1d4 + eb5908f commit 7feb1ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Controller/Adminhtml/FastlyCdn/Blocking/Blocking.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public function execute()
174174
return $result->setData([
175175
'status' => true
176176
]);
177-
} catch (\Exception $e) {
177+
} catch (\Throwable $e) {
178178
return $result->setData([
179179
'status' => false,
180180
'msg' => $e->getMessage()

0 commit comments

Comments
 (0)