public string GetErrorText()
{
string errorText;
try
{
errorText = this._log.LastError; //29Jun2015 these 2 new lines added and 2 lines above commented
_log.ClearErrorConsole();
}
catch
{
logService.WriteToLogLevel("Could not find error text : ", LogLevelEnum.Error);
errorText = string.Empty;
}
return errorText;
}
#endregion