Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed May 5, 2023
1 parent f66b3f2 commit 6e04115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/remix-server-runtime/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ function logServerErrorIfNotAborted(
function errorResponseToJson(
errorResponse: ErrorResponse,
serverMode: ServerMode
) {
): Response {
return json(
serializeError(
errorResponse.error || new Error("Unexpected Server Error"),
Expand Down

0 comments on commit 6e04115

Please sign in to comment.