Sfoglia il codice sorgente

Remove exception handler

crobibero 5 anni fa
parent
commit
84fcb4926c
1 ha cambiato i file con 0 aggiunte e 4 eliminazioni
  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);
-            }
         }
     }
 }