lokiys Moderator Регистрация 01.02.2012 Сообщения 4 812 Благодарностей 1 187 Баллы 113 25.09.2013 #1 So is it possible or not ? My point is that i would like to add some c# after bad end action what will get error action comment and template name. Cheers
So is it possible or not ? My point is that i would like to add some c# after bad end action what will get error action comment and template name. Cheers
rostonix Известная личность Регистрация 23.12.2011 Сообщения 29 067 Благодарностей 5 715 Баллы 113 25.09.2013 #2 I usually write something like: time, template name and use C# to get last failed action ID.
bigcajones Client Регистрация 09.02.2011 Сообщения 1 216 Благодарностей 683 Баллы 113 25.09.2013 #3 var error = project.GetLastError(); var tmp = ""; if(error != null) tmp = string.Format("Project Name: {0}.\r\nActionComment: {1}.\r\n", "{-Project.Name-}", error.ActionComment); return tmp; Реакции: lokiys
var error = project.GetLastError(); var tmp = ""; if(error != null) tmp = string.Format("Project Name: {0}.\r\nActionComment: {1}.\r\n", "{-Project.Name-}", error.ActionComment); return tmp;
lokiys Moderator Регистрация 01.02.2012 Сообщения 4 812 Благодарностей 1 187 Баллы 113 25.09.2013 #4 bigcajones сказал(а): var error = project.GetLastError(); var tmp = ""; if(error != null) tmp = string.Format("Project Name: {0}.\r\nActionComment: {1}.\r\n", "{-Project.Name-}", error.ActionComment); return tmp; Нажмите, чтобы раскрыть... You are brilliant Clint. Thank You very much. Now i will save hours on debug Thanks again
bigcajones сказал(а): var error = project.GetLastError(); var tmp = ""; if(error != null) tmp = string.Format("Project Name: {0}.\r\nActionComment: {1}.\r\n", "{-Project.Name-}", error.ActionComment); return tmp; Нажмите, чтобы раскрыть... You are brilliant Clint. Thank You very much. Now i will save hours on debug Thanks again