Permalink
Browse files

adding more information to error messages logged by HandleException

  • Loading branch information...
1 parent d6e68c1 commit 9f09801606ee61bb6f89f38b2ba49b9e12ccaf7a @ssandler ssandler committed Feb 4, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 TeslaSQL/Agents/Agent.cs
View
1 TeslaSQL/Agents/Agent.cs
@@ -68,6 +68,7 @@ public abstract class Agent {
}
protected void HandleException(Exception e, TableConf table, string message = "") {
+ message = "Table: " + table.FullName + "; StopOnError: " + table.StopOnError + (message.Length > 0 ? "\r\n" + message : "");
logger.Log(e, message);
if (table.StopOnError) {
throw e;

0 comments on commit 9f09801

Please sign in to comment.