We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b6e8a1 commit c849943Copy full SHA for c849943
internal/api/api.go
@@ -126,7 +126,7 @@ func handleSubmitTx(c *gin.Context) {
126
// Check our headers for content-type
127
if c.ContentType() != "application/cbor" {
128
// Log the error, return an error to the user, and increment failed count
129
- logger.Errorf("invalid request body, should be application/cbor, got: %s", c.ContentType())
+ logger.Errorf("invalid request body, should be application/cbor")
130
c.String(415, "invalid request body, should be application/cbor")
131
_ = ginmetrics.GetMonitor().GetMetric("tx_failure_count").Inc(nil)
132
return
0 commit comments