Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
adding more information to error messages logged by HandleException
  • Loading branch information
ssandler committed Feb 4, 2013
1 parent d6e68c1 commit 9f09801
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions TeslaSQL/Agents/Agent.cs
Expand Up @@ -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;
Expand Down

0 comments on commit 9f09801

Please sign in to comment.