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: Toke Høiland-Jørgensen <toke@toke.dk> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| authentication.py | ||
| dynamic_preferences_registry.py | ||
| filters.py | ||
| negotiation.py | ||
| renderers.py | ||
| serializers.py | ||
| views.py | ||