From c866b5005f21551ae609c8e027b9a7bc47ba676d Mon Sep 17 00:00:00 2001 From: John Guo Date: Wed, 31 Aug 2022 19:53:21 +0800 Subject: [PATCH] fix error message for package gtrace (#2103) --- net/gtrace/gtrace.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/gtrace/gtrace.go b/net/gtrace/gtrace.go index 171da62fb..31c48452e 100644 --- a/net/gtrace/gtrace.go +++ b/net/gtrace/gtrace.go @@ -153,7 +153,7 @@ func WithTraceID(ctx context.Context, traceID string) (context.Context, error) { return ctx, gerror.WrapCodef( gcode.CodeInvalidParameter, err, - `invalid custom traceID "%s", a traceID string should be composed with [0-9a-z] and fixed length 32`, + `invalid custom traceID "%s", a traceID string should be composed with [0-f] and fixed length 32`, traceID, ) }