Răsfoiți Sursa

Remove exception handler

crobibero 5 ani în urmă
părinte
comite
84fcb4926c
1 a modificat fișierele cu 0 adăugiri și 4 ștergeri
  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);
                 return StatusCode(StatusCodes.Status404NotFound, e.Message);
             }
             }
-            catch (Exception e)
-            {
-                return StatusCode(StatusCodes.Status500InternalServerError, e.Message);
-            }
         }
         }
     }
     }
 }
 }