case 3717

This commit is contained in:
2019-11-20 20:04:42 +00:00
parent 26636f1d9b
commit 91daa79a53
4 changed files with 30 additions and 11 deletions

View File

@@ -6015,6 +6015,17 @@ namespace AyaNova.PlugIn.QBI
}
//case 3717
public static void CrackDisplayAndIntegrationLogException(Exception ex, string methodText="n/a", string extraText="n/a" ) {
string message="Exception error\r\nMethod: " + methodText + "\r\nExtra: " + extraText + "\r\n Error:" + CrackException(ex);
//Log it so we have it forever in the log
IntegrationLog.Log(QBID, message);
//display it to the user
CopyableMessageBox cb = new CopyableMessageBox(message);
cb.ShowDialog();
}
/// <summary>
/// Case 262 addition