feat(api, core): Доделал атомарный захват задачи роботом.
This commit is contained in:
@@ -32,6 +32,7 @@ namespace PARR.API.Infrastructure.Middleware
|
||||
AlreadyExistsException => StatusCodes.Status409Conflict,
|
||||
UnauthorizedException => StatusCodes.Status401Unauthorized,
|
||||
ForbiddenException => StatusCodes.Status403Forbidden,
|
||||
NextRunException => StatusCodes.Status422UnprocessableEntity,
|
||||
//todo: ---------- другие ошибки ----------
|
||||
_ => StatusCodes.Status500InternalServerError
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user