Skip to content

Commit

Permalink
refactor(settings): better erorr logging when jellyfin connection tes…
Browse files Browse the repository at this point in the history
…t fails in settings page
  • Loading branch information
fallenbagel committed Jun 13, 2024
1 parent 6a51ade commit b72a4a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/routes/settings/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,8 @@ settingsRoutes.post('/jellyfin', async (req, res, next) => {
});

return next({
status: 500,
message: 'Something went wrong',
status: e.statusCode ?? 500,
message: ApiErrorCode.Unknown,
});
}
}
Expand Down

0 comments on commit b72a4a5

Please sign in to comment.