admin/sync: hide full URI from error message
This commit is contained in:
parent
57b7695931
commit
a89de24ad0
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ func getFile(i Importer, URI string, writer *bufio.Writer) error {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return errors.New(fmt.Sprintf("%q: no such file or directory", i.toURL(URI)))
|
return errors.New(fmt.Sprintf("%q: no such file or directory", URI))
|
||||||
}
|
}
|
||||||
|
|
||||||
func getFileContent(i Importer, URI string) (string, error) {
|
func getFileContent(i Importer, URI string) (string, error) {
|
||||||
|
|
Reference in a new issue