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 ebcd99a commit 7d03fdbCopy full SHA for 7d03fdb
internal/api/api.go
@@ -122,7 +122,7 @@ func handleSubmitTx(c *gin.Context) {
122
if err != nil {
123
// Log the error, return an error to the user, and increment failed count
124
logger.Errorf("failed to read request body: %s", err)
125
- c.String(400, "failed to read request body")
+ c.String(500, "failed to read request body")
126
_ = ginmetrics.GetMonitor().GetMetric("tx_failure_count").Inc(nil)
127
return
128
}
0 commit comments