5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-02 08:29:40 +08:00

[v2] Fix formatting of some error messages (#1665)

This commit is contained in:
stffabi 2022-07-27 11:20:30 +02:00 committed by GitHub
parent b9882eabe2
commit 229d36207c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -326,7 +326,7 @@ func (f *Frontend) processRequest(r *request) {
req.Body.Close()
}
return nil, fmt.Errorf("Expected host '%d' in request, but was '%s'", f.startURL.Host, req.URL.Host)
return nil, fmt.Errorf("Expected host '%s' in request, but was '%s'", f.startURL.Host, req.URL.Host)
}
return req, nil
},

View File

@ -355,7 +355,7 @@ func (f *Frontend) processRequest(request unsafe.Pointer) {
req.Body.Close()
}
return nil, fmt.Errorf("Expected host '%d' in request, but was '%s'", f.startURL.Host, req.URL.Host)
return nil, fmt.Errorf("Expected host '%s' in request, but was '%s'", f.startURL.Host, req.URL.Host)
}
return req, nil