🎨 Fixed string format for error URI
This commit is contained in:
parent
20234f8938
commit
1ebefe9a76
|
@ -26,7 +26,7 @@ func (e Error) FormatError(p xerrors.Printer) error {
|
||||||
p.Printf("%s: %s", e.Code, e.Description)
|
p.Printf("%s: %s", e.Code, e.Description)
|
||||||
|
|
||||||
if e.URI != "" {
|
if e.URI != "" {
|
||||||
p.Printf("%s", e.URI)
|
p.Printf(": %s", e.URI)
|
||||||
}
|
}
|
||||||
|
|
||||||
if p.Detail() {
|
if p.Detail() {
|
||||||
|
|
Loading…
Reference in New Issue