Add httpErrorHandler
This commit is contained in:
parent
c4f10f3f7b
commit
53debf9c9d
3 changed files with 24 additions and 3 deletions
|
@ -83,7 +83,7 @@ namespace Geekbot.net.Commands
|
|||
}
|
||||
catch (HttpException e)
|
||||
{
|
||||
await Context.Channel.SendMessageAsync("Seems like i don't have enough permission to give roles...");
|
||||
_errorHandler.HandleHttpException(e, Context);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue