add background error reporting