added default case

This commit is contained in:
CornierKhan1 2018-12-03 12:37:57 +11:00
parent 3d130ccafa
commit 8e8f8ee06e

View File

@ -366,6 +366,9 @@ func handler(w http.ResponseWriter, r *http.Request) {
</soapenv:Envelope>`) </soapenv:Envelope>`)
fmt.Println("Delivered response!") fmt.Println("Delivered response!")
default:
fmt.Fprintf(w, "WiiSOAP can't handle this. Try again later or actually use a Wii instead of a computer.")
} }
// TODO: Add NUS and CAS SOAP to the case list. // TODO: Add NUS and CAS SOAP to the case list.