better exception handling in TaskerCommand