If you submit a paster command through the task manager at /nf/admin/task_manager/new but you specify invalid parameters, it will print the error message to stdout (which gets logged) and then it stops, but the task is always in state 'busy' and never marked as failure. I'm guessing the standard help handler is calling sys.exit or something like that. Maybe we should avoid that and run the commands through the arg parser, before we run run
. An exception can be raised so that the task ends up in state 'error' and with the exception trace in the result.
Created #359: [#6270] Task hangs if invalid params to a paster command (1cp)
Related
Tickets:
#6270Closed #359.
je/42cc_6270