job_run: access function from self in ErrorDecorator