Browse Source

Remove exception handler

crobibero 5 years ago
parent
commit
84fcb4926c
1 changed files with 0 additions and 4 deletions
  1. 0 4
      Jellyfin.Api/Controllers/AttachmentsController.cs

+ 0 - 4
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);
-            }
         }
     }
 }