-
- Downloads
Ensure timezone detection doesn't cause sync to fail [ci drivers]
This commit wraps the timezone detections stuff in some try/catches so that if there's an issue parsing one of the timestamps from the database, it doesn't cause the whole sync process to fail. If a failure happens, it's logged as a warning, the timezone field in the database is not updated and the sync process proceeds. Fixes #5869
Showing
- src/metabase/driver.clj 33 additions, 18 deletionssrc/metabase/driver.clj
- src/metabase/sync/sync_metadata/sync_timezone.clj 11 additions, 7 deletionssrc/metabase/sync/sync_metadata/sync_timezone.clj
- test/metabase/sync/sync_metadata/sync_timezone_test.clj 18 additions, 1 deletiontest/metabase/sync/sync_metadata/sync_timezone_test.clj
Please register or sign in to comment