fix(logging): fix error in onError logging in gulpfile