mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-02 18:10:48 +08:00
[v2] Fix formatting of some error messages (#1665)
This commit is contained in:
parent
b9882eabe2
commit
229d36207c
@ -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
|
||||
},
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user