You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by di...@apache.org on 2026/04/02 15:43:48 UTC
(superset) branch geido/fix/csv-data-exception-logging created (now 9576c23e132)
This is an automated email from the ASF dual-hosted git repository.
diegopucci pushed a change to branch geido/fix/csv-data-exception-logging
in repository https://gitbox.apache.org/repos/asf/superset.git
at 9576c23e132 fix(reports): log exception traceback in _get_csv_data
This branch includes the following new commits:
new 9576c23e132 fix(reports): log exception traceback in _get_csv_data
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(superset) 01/01: fix(reports): log exception traceback in _get_csv_data
Posted by di...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
diegopucci pushed a commit to branch geido/fix/csv-data-exception-logging
in repository https://gitbox.apache.org/repos/asf/superset.git
commit 9576c23e13228cb37be9f888158a93d01cb01cb9
Author: Diego Pucci <di...@gmail.com>
AuthorDate: Thu Apr 2 17:43:33 2026 +0200
fix(reports): log exception traceback in _get_csv_data
The except Exception block used logger.error() without exc_info, silently
dropping the traceback. Switch to logger.exception() to include the full
stack trace, consistent with how other except Exception blocks in the same
file handle logging (e.g. _update_slack_recipients).
Co-Authored-By: Claude Opus 4.6 <no...@anthropic.com>
---
superset/commands/report/execute.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset/commands/report/execute.py b/superset/commands/report/execute.py
index a59e13afaa5..72c84986273 100644
--- a/superset/commands/report/execute.py
+++ b/superset/commands/report/execute.py
@@ -479,7 +479,7 @@ class BaseReportState:
raise ReportScheduleCsvTimeout() from ex
except Exception as ex:
elapsed_seconds = (datetime.utcnow() - start_time).total_seconds()
- logger.error(
+ logger.exception(
"CSV generation failed after %.2fs - execution_id: %s",
elapsed_seconds,
self._execution_id,