Alert: unexpected error log occur (#95491)
This commit is contained in:
1 parent
209dbcf894
commit
6f888720de
1 file changed
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user