Added new logger
Fix thread time counters
This commit is contained in:
@@ -41,7 +41,7 @@ namespace Step.Config
|
||||
}
|
||||
catch (XmlException ex)
|
||||
{
|
||||
ExceptionManager.Manage(ERROR_LEVEL.FATAL,
|
||||
ExceptionManager.ManageError(ERROR_LEVEL.FATAL,
|
||||
"Error while reading file: " + ex.SourceUri +
|
||||
"\n Error: " + ex.Message,
|
||||
true
|
||||
@@ -52,7 +52,7 @@ namespace Step.Config
|
||||
var message = ex.Message;
|
||||
if (ex.InnerException != null)
|
||||
message += "\n"+ex.InnerException.Message;
|
||||
ExceptionManager.Manage(ERROR_LEVEL.FATAL, message, true);
|
||||
ExceptionManager.ManageError(ERROR_LEVEL.FATAL, message, true);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -163,11 +163,11 @@ namespace Step.Config
|
||||
{
|
||||
if (e.Severity == XmlSeverityType.Warning)
|
||||
{
|
||||
ExceptionManager.Manage(ERROR_LEVEL.WARNING, e.Message, true);
|
||||
ExceptionManager.ManageError(ERROR_LEVEL.WARNING, e.Message, true);
|
||||
}
|
||||
else if (e.Severity == XmlSeverityType.Error)
|
||||
{
|
||||
ExceptionManager.Manage(ERROR_LEVEL.FATAL,
|
||||
ExceptionManager.ManageError(ERROR_LEVEL.FATAL,
|
||||
// "Error while reading file: " + e.Exception.SourceUri +
|
||||
"Error while reading XML file \"" + actualFileName + "\" \n\n" + e.Message,
|
||||
true
|
||||
|
||||
Reference in New Issue
Block a user