Answer the question
In order to leave comments, you need to log in
How to fix exception display in Asp.Net Core 2.0 for MySqlConnector?
In a debug build launched from Visual Studio 2017, all MySqlConnector library exceptions are simply not thrown, but appear in the output window. Because of this, you have to get information about the exception manually, using breakpoints. Please, is there a way to fix this?
Answer the question
In order to leave comments, you need to log in
В общем, причина была в библиотеке DSharpPlus, заменил на Discord.Net и все стало работать. В чем была причина я так и не узнал, но исключения игнорились при вызове методов из событий этой библиотеки.
Исправлять это не надо.
У вас в коде где-то выше по стеку исключение обрабатывается:
try
{
// do my job or throw exception
}
catch (Exception ex)
{
Debug.WriteLine(ex);
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question