remove exc_info from LOG.exception (#246)
This commit is contained in:
@@ -85,7 +85,6 @@ class Block(BaseModel, abc.ABC):
|
||||
except Exception:
|
||||
LOG.exception(
|
||||
"Block execution failed",
|
||||
exc_info=True,
|
||||
workflow_run_id=workflow_run_id,
|
||||
block_label=self.label,
|
||||
block_type=self.block_type,
|
||||
@@ -657,7 +656,7 @@ class UploadToS3Block(Block):
|
||||
uri=self._get_s3_uri(workflow_run_id, self.path), file_path=self.path
|
||||
)
|
||||
except Exception as e:
|
||||
LOG.exception("UploadToS3Block: Failed to upload file to S3", file_path=self.path, exc_info=True)
|
||||
LOG.exception("UploadToS3Block: Failed to upload file to S3", file_path=self.path)
|
||||
raise e
|
||||
|
||||
LOG.info("UploadToS3Block: File(s) uploaded to S3", file_path=self.path)
|
||||
|
||||
@@ -192,7 +192,6 @@ class WorkflowService:
|
||||
LOG.exception(
|
||||
f"Error while executing workflow run {workflow_run.workflow_run_id}",
|
||||
workflow_run_id=workflow_run.workflow_run_id,
|
||||
exc_info=True,
|
||||
)
|
||||
await self.mark_workflow_run_as_failed(workflow_run_id=workflow_run.workflow_run_id)
|
||||
raise e
|
||||
|
||||
Reference in New Issue
Block a user