refactor(settings): better erorr logging when jellyfin connection test fails in settings page

This commit is contained in:
fallenbagel
2024-06-13 17:08:11 +05:00
parent 6a51ade676
commit 0205032122

View File

@@ -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,
});
}
}