Add more error reporting for Discord errors

This commit is contained in:
Ske
2020-05-12 21:23:05 +02:00
parent 60018bf69d
commit 8ea02dae81
2 changed files with 10 additions and 7 deletions

View File

@@ -49,10 +49,5 @@ namespace PluralKit.Bot
// This may expanded at some point.
return true;
}
public static string ExtractError(BadRequestException e)
{
return e.WebResponse.Response;
}
}
}