fix(objective-sync): log seed failure вместо bare except pass (#1226)
This commit is contained in:
parent
d8a2ad7854
commit
367ed890f1
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ def get_config(db) -> ObjectiveSyncConfig:
|
|||
)
|
||||
db.commit()
|
||||
except Exception:
|
||||
pass
|
||||
logger.exception("objective_sync_config seed failed (id=1 ON CONFLICT DO NOTHING)")
|
||||
return _defaults_from_settings()
|
||||
|
||||
return ObjectiveSyncConfig(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue