mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-01-09 15:37:22 +03:00
querylog: imp code
This commit is contained in:
parent
ca22d8524d
commit
649454e77b
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ func (l *queryLog) handleQueryLogExport(w http.ResponseWriter, r *http.Request)
|
|||
csvWriter := csv.NewWriter(w)
|
||||
defer func() {
|
||||
if err = csvWriter.Error(); err != nil {
|
||||
http.Error(w, "writing csv", http.StatusInternalServerError)
|
||||
aghhttp.Error(r, w, http.StatusInternalServerError, "writing csv")
|
||||
}
|
||||
}()
|
||||
|
||||
|
|
Loading…
Reference in a new issue