Alert: unexpected error log occur (#95491)

This commit is contained in:
jackyin
2024-10-28 22:34:07 +08:00
committed by GitHub
parent 209dbcf894
commit 6f888720de
+1 -1
View File
@@ -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)
}