feat: integration cloudfile
This commit is contained in:
@@ -25,6 +25,7 @@ public class ApiExceptionMiddleware(RequestDelegate next, ILogger<ApiExceptionMi
|
||||
UnauthorizedException => (StatusCodes.Status401Unauthorized, ex.Message),
|
||||
ForbiddenException => (StatusCodes.Status403Forbidden, ex.Message),
|
||||
NotFoundException => (StatusCodes.Status404NotFound, ex.Message),
|
||||
StorageUnavailableException => (StatusCodes.Status502BadGateway, "Storage backend is unavailable. Please try again."),
|
||||
_ => (StatusCodes.Status500InternalServerError, "An unexpected error occurred"),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user