Skip to content
Snippets Groups Projects
Commit 2f46d838 authored by Toke Høiland-Jørgensen's avatar Toke Høiland-Jørgensen
Browse files

subsonic: Catch ValueError when casting input parameters


A failed cast to int will raise ValueError, which is not currently caught
by the error checking code, leading to a crash. Fix this so a proper error
message can be returned.

Also add test for getting artist with non-numeric ID.

Signed-off-by: default avatarToke Høiland-Jørgensen <toke@toke.dk>
parent 6940d411
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment