Corrected logging of event name when the job passed is not a string