admin/sync: hide full URI from error message
This commit is contained in:
parent
1ab94862d0
commit
68bb0e6b21
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user