Remove error message (#5315)

- Polluting logs without benefit
This commit is contained in:
Oliver authored and GitHub committed 2023-07-23 12:21:33 +10:00
1 parent 507205ca78
commit e6cd0b05ce
1 file changed
+3 -2
+3 -2
View File
@@ -60,8 +60,9 @@ def reload_unit_registry():
# Once custom units are loaded, save registry
_unit_registry = reg
except Exception as e:
logger.error(f'Failed to load custom units: {e}')
except Exception:
# Database is not ready, or CustomUnit model is not available
pass
dt = time.time() - t_start
logger.debug(f'Loaded unit registry in {dt:.3f}s')