better error reporting by task queue application