Oh nvm, I see you are putting into the CommandResult below.  Maybe a comment here to explain.  Something like ` # Saving the exception into an variable so it can be passed to the CommandResult.