correctly log worker exceptions