Skip to content

Commit 97c482f

Browse files
committed
Formatting
1 parent cc7b93e commit 97c482f

File tree

1 file changed

+4
-1
lines changed
  • packages/kit/src/runtime/server

1 file changed

+4
-1
lines changed

packages/kit/src/runtime/server/page.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,10 @@ async function get_response({ request, options, $session, route, status = 200, e
187187
// error page, there's not a lot we can do
188188
if (error) throw e instanceof Error ? e : new Error(e);
189189

190-
loaded = { error: e instanceof Error ? e : { name: 'Error', message: e.toString() }, status: 500 };
190+
loaded = {
191+
error: e instanceof Error ? e : { name: 'Error', message: e.toString() },
192+
status: 500
193+
};
191194
}
192195

193196
if (loaded) {

0 commit comments

Comments
 (0)