2022.10.6 - Logging exception when no config exists #95

Closed
opened 2022-07-16 12:42:16 +02:00 by edraft · 0 comments
Owner

I get this error when i call logger.info(...):
File "sh_cpl/src/cpl_core/logging/logger_service.py", line 36, in init
self._log = Template(self._log_settings.filename).substitute(
AttributeError: 'NoneType' object has no attribute 'filename'

I didn't configure logging.
I would expect detailed exceptions.

I get this error when i call logger.info(...): File "sh_cpl/src/cpl_core/logging/logger_service.py", line 36, in __init__ self._log = Template(self._log_settings.filename).substitute( AttributeError: 'NoneType' object has no attribute 'filename' I didn't configure logging. I would expect detailed exceptions.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sh-edraft.de/cpl#95
No description provided.