Use original error message upon empty or invalid action specification

This commit is contained in:
Spotlight 2020-08-17 01:20:36 -05:00
parent e588ba6e68
commit 3427d96df4
No known key found for this signature in database
GPG Key ID: 874AA355B3209BDC

View File

@ -95,7 +95,7 @@ func commonHandler(w http.ResponseWriter, r *http.Request) {
// Figure out the action to handle via header.
service, action := parseAction(r.Header.Get("SOAPAction"))
if service == "" || action == "" {
printError(w, "Error interpreting request...")
printError(w, "WiiSOAP can't handle this. Try again later or actually use a Wii instead of a computer.")
return
}