Closed MrBruz closed 2 years ago
Catch doesn't seem to properly catch dialog_error, what is the fix for this issue in my code?
catch (dialog_error &exc) { cout << email << " - Dialog Error: " << exc.what() << endl; }
terminate called after throwing an instance of 'mailio::dialog_error' what(): Server connecting failed. [1] 24850 IOT instruction (core dumped)
Hi, is it possible to get the code inside try?
try
Hey @karastojko I appreciate the help, it turns out that the initial IMAP connect function was not inside the try/except, causing this error.
Catch doesn't seem to properly catch dialog_error, what is the fix for this issue in my code?