diff --git a/AutoTx/AutoTx.cs b/AutoTx/AutoTx.cs index d246663bd580f2f076673a88093975857282c293..b4deb6d7be34995aa91bec7f354c5e46f049660e 100644 --- a/AutoTx/AutoTx.cs +++ b/AutoTx/AutoTx.cs @@ -107,7 +107,8 @@ namespace AutoTx _roboCommand = new RoboCommand(); } catch (Exception ex) { - writeLog("Error in LoadSettings(): " + ex.Message, true); + writeLog("Error in LoadSettings(): " + ex.Message + "\n" + + ex.StackTrace, true); throw new Exception("Error in LoadSettings."); } // NOTE: this is explicitly called *outside* the try-catch block so an Exception @@ -219,7 +220,7 @@ namespace AutoTx } } catch (Exception ex) { - writeLog("Error in CheckConfiguration(): " + ex.Message); + writeLog("Error in CheckConfiguration(): " + ex.Message + " " + ex.StackTrace); configInvalid = true; }