aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-04-21 07:52:33 -0600
committercrobibero <cody@robibe.ro>2020-05-19 08:55:15 -0600
commit84fcb4926ccce968a920bed7324ef6f037c4f5e1 (patch)
treec85294880d43b913515c1919f901a7055b87a5f7
parent8eac528815bc7ab673b361f48b90b3b28ccbc070 (diff)
Remove exception handler
-rw-r--r--Jellyfin.Api/Controllers/AttachmentsController.cs4
1 files changed, 0 insertions, 4 deletions
diff --git a/Jellyfin.Api/Controllers/AttachmentsController.cs b/Jellyfin.Api/Controllers/AttachmentsController.cs
index f4c1a761f..aeeaf5cbd 100644
--- a/Jellyfin.Api/Controllers/AttachmentsController.cs
+++ b/Jellyfin.Api/Controllers/AttachmentsController.cs
@@ -79,10 +79,6 @@ namespace Jellyfin.Api.Controllers
{
return StatusCode(StatusCodes.Status404NotFound, e.Message);
}
- catch (Exception e)
- {
- return StatusCode(StatusCodes.Status500InternalServerError, e.Message);
- }
}
}
}