mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
People: Improve logging, command help, and handling of broken files #22
This commit is contained in:
@@ -81,11 +81,11 @@ func PhotoUnstack(router *gin.RouterGroup) {
|
||||
AbortEntityNotFound(c)
|
||||
return
|
||||
} else if related.Len() == 0 {
|
||||
log.Errorf("photo: no files found for %s (unstack)", txt.Quote(baseName))
|
||||
log.Errorf("photo: found no files for %s (unstack)", txt.Quote(baseName))
|
||||
AbortEntityNotFound(c)
|
||||
return
|
||||
} else if related.Main == nil {
|
||||
log.Errorf("photo: no main file found for %s (unstack)", txt.Quote(baseName))
|
||||
log.Errorf("photo: found no main file for %s (unstack)", txt.Quote(baseName))
|
||||
AbortEntityNotFound(c)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user