Alert: unexpected error log occur (#95491)

pull/95506/head
jackyin 7 months ago committed by GitHub
parent 209dbcf894
commit 6f888720de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      pkg/api/pluginproxy/ds_proxy.go

@ -372,7 +372,7 @@ func (proxy *DataSourceProxy) logRequest() {
panelPluginId := proxy.ctx.Req.Header.Get("X-Panel-Plugin-Id")
uri, err := util.SanitizeURI(proxy.ctx.Req.RequestURI)
if err == nil {
if err != nil {
proxy.ctx.Logger.Error("Could not sanitize RequestURI", "error", err)
}

Loading…
Cancel
Save