diff --git a/blueprints/services/dagjson-over-http/client.go b/blueprints/services/dagjson-over-http/client.go index 0623a5b..9658bbf 100644 --- a/blueprints/services/dagjson-over-http/client.go +++ b/blueprints/services/dagjson-over-http/client.go @@ -228,7 +228,7 @@ func (c *{{.Type}}) {{.AsyncMethodDecl}} { buf, err := {{.IPLDEncode}}(envelope, {{.DAGJSONEncode}}) if err != nil { - return nil, {{.Errorf}}("unexpected serialization error (%v)", err) + return nil, {{.Errorf}}("serializing DAG-JSON request: %w", err) } // encode request in URL