mirror of
https://github.com/Viren070/AIOStreams.git
synced 2025-12-01 23:14:04 +01:00
fix: log full error for unexpected errors during stream retrieval
This commit is contained in:
@@ -46,7 +46,8 @@ router.get(
|
||||
];
|
||||
if (transformer.showError('stream', errors)) {
|
||||
logger.error(
|
||||
`Unexpected error during stream retrieval: ${errorMessage}`
|
||||
`Unexpected error during stream retrieval: ${errorMessage}`,
|
||||
error
|
||||
);
|
||||
res.status(200).json(
|
||||
StremioTransformer.createDynamicError('stream', {
|
||||
|
||||
Reference in New Issue
Block a user