fix(engine): handle error in signal method correctly

related to #CAM-2861