✅ Exception message not working
I have this code for an exception:
And this code for throwing the exception:
But when the exception is thrown, the message is "Exception of type 'DiscordIntegration.Exceptions.WebhookExecutionFailedException' was thrown.'" instead of the value of
error.Message
.3 Replies
You're probably confusing logging of an exception, with the exception message
Also why would you have ErrorMessage property when the base class already has basically that
Nevermind I found the issue