From 9a4c5aeeaca2746c4d2bc99f829de3f526b10439 Mon Sep 17 00:00:00 2001 From: yuanruji Date: Mon, 9 Dec 2024 11:34:25 +0800 Subject: [PATCH] 111 --- .../db-tools/dbactuator/pkg/util/mysqlutil/mysql_dumper.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dbm-services/mysql/db-tools/dbactuator/pkg/util/mysqlutil/mysql_dumper.go b/dbm-services/mysql/db-tools/dbactuator/pkg/util/mysqlutil/mysql_dumper.go index 9fff605005..80ef75dd09 100644 --- a/dbm-services/mysql/db-tools/dbactuator/pkg/util/mysqlutil/mysql_dumper.go +++ b/dbm-services/mysql/db-tools/dbactuator/pkg/util/mysqlutil/mysql_dumper.go @@ -197,6 +197,11 @@ func (m *MySQLDumperTogether) Dump() (err error) { } if err := checkDumpComplete(outputFile); err != nil { logger.Error("checkDumpComplete failed %s", err.Error()) + errFileContext, e1 := osutil.ReadFileString(errFile) + if e1 != nil { + logger.Error("read errFile failed %s", e1.Error()) + } + logger.Error("errFile:%s", errFileContext) return err } return