Skip to content

Commit

Permalink
fix(api): api request failed, log warning
Browse files Browse the repository at this point in the history
  • Loading branch information
iseki0 committed Aug 22, 2024
1 parent 4a85c8e commit db2d3bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (c *Client) DoJson(req *http.Request, resBody interface{}) (e error) {

defer func() {
if e != nil {
logger.Errorf("Request error: %v", e)
logger.Warnf("Request error: %v", e)
}
}()

Expand Down

0 comments on commit db2d3bd

Please sign in to comment.