Homec4science

Fixed a bug encountered when a 'functionStop' exception was raised. Previously…

Authored by Nicholas Robinson <nicholas.robinson@cern.ch> on Mar 19 2007, 17:02.

Description

Fixed a bug encountered when a 'functionStop' exception was raised. Previously, this stopped the functions from continuing to execute, but the code proposing the 'next action' and updating the submission as finished still executed. This meant that a function could be logged as finished in the submission log table, even when it wasn't. This code has now been tucked into an 'else' clause in the try->except statement, so it will only be executed if the functions finish without raising a functionStop exception. Submissions will not, therefore, be wrongly marked as finished in the log.

Event Timeline

Nicholas Robinson <nicholas.robinson@cern.ch> committed R3600:79b72d2f40eb: Fixed a bug encountered when a 'functionStop' exception was raised. Previously… (authored by Nicholas Robinson <nicholas.robinson@cern.ch>).Mar 19 2007, 17:02