[fix] don't set command result before every action is done to avoid returning SUCCESS when an exception is raised
[fix] don't set command result before every action is done to avoid returning SUCCESS when an exception is raised