aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/AttachmentsController.cs
diff options
context:
space:
mode:
authorcrobibero <cody@robibe.ro>2020-04-21 07:52:33 -0600
committercrobibero <cody@robibe.ro>2020-04-21 07:52:33 -0600
commit08eba82bb7bebe277f6b106fa48994bb98c3dd41 (patch)
tree4cb16f0a37c3bfeda03ee2cacdda0afabb22a099 /Jellyfin.Api/Controllers/AttachmentsController.cs
parent1fc682541050e074227736f0c8556d53f98228a1 (diff)
Remove exception handler
Diffstat (limited to 'Jellyfin.Api/Controllers/AttachmentsController.cs')
-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);
- }
}
}
}