emitting worker error alongside with the error, as mentioned in #11