If Branch Fail?

osho

Client
Регистрация
20.03.2012
Сообщения
125
Благодарностей
5
Баллы
18
Is there a way to do an "if branch fails -> write to log" or something? Rather than checking each step, a global or something for each branch?

I want to be able to write to a log if any of the 10 steps in my branch fails... and not have to setup If (!success) write to file for each step.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
 

Kepperbes

Client
Регистрация
19.12.2011
Сообщения
241
Благодарностей
81
Баллы
28
Rostonix,

How does the bad end know what to log to the error file? Are any other branches supposed to be connected to it, or does it automatically log all of the errors that occur in the template on its own?
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
It will write whatever you set it to write to whatever file. Look at screenshot what action it display
 

aratinlab

Client
Регистрация
11.06.2011
Сообщения
8
Благодарностей
0
Баллы
0
I think you should use a variable to determine which errors to log
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
I think I misunderstood you :-) you can check global logs of zennoposter in folder of the program. But it's likely you got the same error in project maker. And in debug mode its more comfortable to check which step fails
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)