return errors in component deploy