Made callback to receive []error parameter