Skip to content

Commit

Permalink
default error to null (not undefined) to be consistent on client and …
Browse files Browse the repository at this point in the history
…server
  • Loading branch information
ehrencrona committed Nov 3, 2020
1 parent f8f1b12 commit 62b6371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/app-utils/src/renderer/render/page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default async function render_page(
context: any,
options: RenderOptions,
status: number = 200,
error?: Error
error: Error | null = null
): Promise<{
status: number,
body: string,
Expand Down

0 comments on commit 62b6371

Please sign in to comment.