diff --git a/go/vt/topo/topoproto/tablet.go b/go/vt/topo/topoproto/tablet.go index f73dd782536..5a9f0133d88 100644 --- a/go/vt/topo/topoproto/tablet.go +++ b/go/vt/topo/topoproto/tablet.go @@ -75,7 +75,7 @@ func TabletAliasUIDStr(ta *topodatapb.TabletAlias) string { func ParseTabletAlias(aliasStr string) (*topodatapb.TabletAlias, error) { nameParts := strings.Split(aliasStr, "-") if len(nameParts) != 2 { - return nil, fmt.Errorf("invalid tablet alias: %v", aliasStr) + return nil, fmt.Errorf("invalid tablet alias: %q, expecting format: %q", aliasStr, "-") } uid, err := ParseUID(nameParts[1]) if err != nil {