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 498b306 commit ad0fc32Copy full SHA for ad0fc32
internal/handlers/transactions_handlers.go
@@ -158,7 +158,7 @@ func handleTransactionsRequest(c *gin.Context) {
158
if err != nil {
159
log.Error().Err(err).Msg("Error querying aggregates")
160
// TODO: might want to choose BadRequestError if it's due to not-allowed functions
161
- api.InternalErrorHandler(c)
+ api.BadRequestErrorHandler(c, err)
162
return
163
}
164
queryResult.Aggregations = aggregatesResult.Aggregates
0 commit comments