Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze authored and github-actions[bot] committed Apr 7, 2023
1 parent 8f53ee8 commit 236bcb1
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/Middlewares/CacheResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,11 @@ protected function getCachedResponse(Request $request, array $tags = []): false|
{
try {
$response = $this->responseCache->getCachedResponseFor($request, $tags);
}
catch (CouldNotUnserialize $exception) {
} catch (CouldNotUnserialize $exception) {
throw $exception;
}
catch (Throwable $exception) {
} catch (Throwable $exception) {
report("Unable to retrieve cached response when one was expected. Error: {$exception->getMessage()}");

return false;
}

Expand Down

0 comments on commit 236bcb1

Please sign in to comment.