Skip to content

Commit 3311592

Browse files
Marenzllucax
andauthored
Update src/frequenz/sdk/microgrid/_resampling.py
Co-authored-by: Leandro Lucarella <[email protected]> Signed-off-by: Mathias L. Baumann <[email protected]>
1 parent 7f39834 commit 3311592

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/frequenz/sdk/microgrid/_resampling.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ def _log_resampling_task_error(self, resampling_task: asyncio.Task[None]) -> Non
180180
except ResamplingError as error:
181181
for source, source_error in error.exceptions.items():
182182
_logger.error(
183-
"Error resampling source %s, removing source: %s",
183+
"Error resampling source %s, removing source",
184184
source,
185-
source_error,
185+
exc_info=source_error,
186186
)
187187
removed = self._resampler.remove_timeseries(source)
188188
if not removed:

0 commit comments

Comments
 (0)