Fix promise issue on failed action
Fix promise issue on failed action

Fixes RM-2859

Signed-off-by: mea-axelor <76b1832478b510fa51d4b2ef52dfd59ca0400db1@axelor.com>

marioestradarosa/axelor-development-kit,donsunsoft/axelor-development-kit,donsunsoft/axelor-development-kit,marioestradarosa/axelor-development-kit,marioestradarosa/axelor-development-kit,donsunsoft/axelor-development-kit,marioestradarosa/axelor-development-kit,donsunsoft/axelor-development-kit