generate error report