Skip to content

Commit

Permalink
Add error cause.
Browse files Browse the repository at this point in the history
Co-authored-by: Dave Longley <[email protected]>
  • Loading branch information
davidlehn and dlongley authored Aug 15, 2024
1 parent c3acfe5 commit eb53408
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ export async function addRoutes({app, service} = {}) {
details: {
httpStatusCode: 400,
public: true
}
},
cause: error
});
}
// TODO: handle other possible errors
Expand Down

0 comments on commit eb53408

Please sign in to comment.