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.
edraft added the
bug
label 2022-07-16 12:42:19 +02:00
edraft changed title from Logging exception when no config exists to 2022.10.6 - Logging exception when no config exists 2022-09-10 09:17:35 +02:00
edraft added this to the 2022.10 milestone 2022-09-10 09:17:37 +02:00
edraft added this to the 2022.10 project 2022-09-10 09:17:38 +02:00
edraft self-assigned this 2022-09-10 09:17:40 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

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