mirror of
https://github.com/Theodor-Springmann-Stiftung/kgpz_web.git
synced 2025-10-29 09:05:30 +00:00
Improved logs for failed parses
This commit is contained in:
@@ -618,7 +618,9 @@ func (k *KGPZ) Pull() {
|
||||
|
||||
if changed {
|
||||
logging.ObjDebug(&k.Repo, "Remote changed. Reparsing")
|
||||
k.Serialize()
|
||||
if err := k.Serialize(); err != nil {
|
||||
logging.Error(err, "Error parsing XML after git pull. Using mixed old/new data.")
|
||||
}
|
||||
k.EnrichAndRebuildIndex()
|
||||
|
||||
// Rescan pictures after pull
|
||||
|
||||
Reference in New Issue
Block a user