diff --git a/handler/gather/gather_plan_monitor.py b/handler/gather/gather_plan_monitor.py index 5ffbfda0..3eb4c83c 100644 --- a/handler/gather/gather_plan_monitor.py +++ b/handler/gather/gather_plan_monitor.py @@ -189,6 +189,8 @@ def handle_plan_monitor_from_ob(cluster_name): self.__report("报告生成时间: %s" % (time.strftime("%Y-%m-%d %H:%M:%S", t))) self.report_footer() self.stdio.verbose("report footer complete") + else: + self.stdio.error("The data queried with the specified trace_id {0} from gv$ob_sql_audit is empty. Please verify if this trace_id has expired.".format(self.trace_id)) if resp["skip"]: return