provide more context when a worker fails

Thanks to @pftg for the inspiration.