Catch exceptions in commands
Fix error when calling 'msg' with no parameters