log name of already existing image
This commit is contained in:
parent
90ce6c00bc
commit
5db4a25f04
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ func (image *Image) Download() (string, error) {
|
|||
return "image is invalid", nil
|
||||
}
|
||||
if image.Exists() {
|
||||
return "image already exists", nil
|
||||
return "image '" + image.Name + "' already exists", nil
|
||||
}
|
||||
path := image.getPath()
|
||||
loggo.Info("downloading image '" + image.Name + "' from unsplash...")
|
||||
|
|
Loading…
Reference in a new issue