Add command to catching-exceptions