mirror of
https://github.com/Govor-team/Govor.git
synced 2026-07-21 11:44:56 +00:00
bug fix
This commit is contained in:
@@ -43,6 +43,11 @@ public class OnlinePingingController : Controller
|
||||
_logger.LogError(e, e.Message);
|
||||
return BadRequest("User can't be found in our database.");
|
||||
}
|
||||
catch (UnauthorizedAccessException e)
|
||||
{
|
||||
_logger.LogError(e, e.Message);
|
||||
return Forbid(e.Message);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
_logger.LogError(e, e.Message);
|
||||
|
||||
Reference in New Issue
Block a user