Add logging for failed CIF index creation
All checks were successful
Go Test / test (push) Successful in 31s
All checks were successful
Go Test / test (push) Successful in 31s
This commit is contained in:
parent
9e65b66474
commit
16bff981cc
@ -52,7 +52,10 @@ func runCifFullDownload(cfg *helpers.Configuration) error {
|
|||||||
parsed = nil
|
parsed = nil
|
||||||
|
|
||||||
// Create Indexes
|
// Create Indexes
|
||||||
dbAccess.CreateTimetableIndexes()
|
err = dbAccess.CreateTimetableIndexes()
|
||||||
|
if err != nil {
|
||||||
|
log.Warn("Error creating timetable indexes, degraded performance", zap.Error(err))
|
||||||
|
}
|
||||||
|
|
||||||
postTime := time.Now()
|
postTime := time.Now()
|
||||||
updateDuration := postTime.Sub(preTime)
|
updateDuration := postTime.Sub(preTime)
|
||||||
|
Loading…
Reference in New Issue
Block a user