Abort on Error

Discuss new features and functions
Posts: 45
Joined: 20 May 2008

arrmo

Hi,

When running an sync job it seems that FFS is aborting on the first error
(when running as a batch job) - is this expected? I'm guessing that this is
related to the field "HandleError" in the batch file, but not sure how to
confirm this.

Thanks!
User avatar
Site Admin
Posts: 7047
Joined: 9 Dec 2007

Zenju

You're probably using a silent batch mode and have "Exit with RC < 0" as error
handling strategy. In *.ffs_batch XML there would be a key
< HandleError > Exit < /HandleError >

But you can check your batch settings by loading them into the batch creation
dialog in FFS's GUI.
Posts: 45
Joined: 20 May 2008

arrmo

Yes, this is absolutely correct - and it's what I want ... but can I not have
an exit code in the case of errors, but ignore errors during the processing
(and then just flag that there were errors with the exit code)?

Thanks!
User avatar
Site Admin
Posts: 7047
Joined: 9 Dec 2007

Zenju

Sure: FFS will return with an error-code < 0 no matter what error handling is
used. So just "ignore errors" and check the return value, to test if
everything run smoothly.