Skip to content

Commit 68761de

Browse files
committed
v1.0-rc2
1 parent e74a421 commit 68761de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Business/Executor/RouteExecutor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ protected function generateResponse(Request $request, mixed $responseData, bool
8686
}
8787

8888
if (!$transformed) {
89-
throw new HttpInternalServerException();
89+
throw new HttpInternalServerException('Internal Server Error.', $responseData instanceof \Throwable ? $responseData : null);
9090
}
9191

9292
return $response;

0 commit comments

Comments
 (0)