Skip to content

Commit 24579e5

Browse files
committed
log-server: stop hiding error messages from client
1 parent fb0f77e commit 24579e5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/brave-papayas-stop.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@lightmill/log-server': minor
3+
---
4+
5+
Stop hiding error messages from client

packages/log-server/src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export function LogServer({
170170
{
171171
status: 'Internal Server Error',
172172
code: 'INTERNAL_SERVER',
173-
detail: mode !== 'production' ? err.message : undefined,
173+
detail: err.message,
174174
},
175175
],
176176
} satisfies components['schemas']['NonRouterErrorDocument']);

0 commit comments

Comments
 (0)