Fix: no panic on failure to sync entries to up9.app (#648)

This commit is contained in:
Igor Gov 2022-01-16 11:50:40 +02:00 committed by GitHub
parent ae1bcf4c0c
commit e15eb71b77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,7 +128,7 @@ func main() {
syncEntriesConfig := getSyncEntriesConfig()
if syncEntriesConfig != nil {
if err := up9.SyncEntries(syncEntriesConfig); err != nil {
panic(fmt.Sprintf("Error syncing entries, err: %v", err))
logger.Log.Error("Error syncing entries, err: %v", err)
}
}