Skip to content

Commit

Permalink
stop spamming errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvain Blanc committed Oct 29, 2023
1 parent 66c3c47 commit 0719914
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion backend/jellyfin/jellyfin-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,11 @@ class JellyfinClient {

return response.data.MediaSources;
} catch (error) {
console.log(error);
if (error.response) {
console.log(error.toJSON());
} else {
console.log(error)
}
return [];
}
}
Expand Down

0 comments on commit 0719914

Please sign in to comment.