diff --git a/server/routes/settings/index.ts b/server/routes/settings/index.ts index d4737a3c..64fd83a6 100644 --- a/server/routes/settings/index.ts +++ b/server/routes/settings/index.ts @@ -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, }); } }