mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
Improve error handling when Navidrome fails
This commit is contained in:
@@ -438,8 +438,7 @@ function server(
|
||||
})
|
||||
.catch((e: Error) => {
|
||||
logger.error(
|
||||
`Failed fetching image ${type}/${id}/size/${size}: ${e.message}`,
|
||||
e
|
||||
`Failed fetching image ${type}/${id}/size/${size}`, { cause: e }
|
||||
);
|
||||
return res.status(500).send();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user