ENYO-2289: onError event is not needed here

Enyo-DCO-1.1-Signed-off-by: Yves Del Medico <yves.del-medico@hp.com>