mirror of
https://github.com/safing/portmaster
synced 2025-09-01 10:09:11 +00:00
Improve get resource api error
This commit is contained in:
parent
7434534523
commit
d760bfb4ef
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ func registerAPIEndpoints() error {
|
|||
|
||||
// If we could not convert to acceptable format, return an error.
|
||||
if !converted {
|
||||
http.Error(w, err.Error(), http.StatusNotAcceptable)
|
||||
http.Error(w, "conversion to requested format not supported", http.StatusNotAcceptable)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue