Skip to content

Commit 649cc55

Browse files
committed
chore: update
1 parent f51e2f5 commit 649cc55

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

go/binlog/gomysql_reader.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ func (this *GoMySQLReader) handleAuthError(err error, context string) error {
7575
this.authFailureCount++
7676

7777
if this.migrationContext.MaxAuthFailures > 0 && this.authFailureCount >= this.migrationContext.MaxAuthFailures {
78-
return fmt.Errorf("authentication failed %d times (max: %d) during %s, aborting to prevent firewall blocking: %v",
78+
return fmt.Errorf("authentication failed %d times (max: %d) during %s, aborting to prevent firewall blocking: %w",
7979
this.authFailureCount, this.migrationContext.MaxAuthFailures, context, err)
8080
}
8181

0 commit comments

Comments
 (0)