mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
[v2] Fix formatting of some error messages (#1665)
This commit is contained in:
parent
b9882eabe2
commit
229d36207c
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue