Fix authentication errors (#1527)

This commit is contained in:
Shuchang Zheng 2025-01-09 12:34:25 -08:00 committed by GitHub
parent dde2d650ff
commit 5ed7e5ad8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 8 additions and 5 deletions

View file

@ -280,7 +280,7 @@ class Block(BaseModel, abc.ABC):
if not workflow_run_context.has_value(self.output_parameter.key):
await self.record_output_parameter_value(workflow_run_context, workflow_run_id)
failure_reason = "unexpected exception"
failure_reason = f"Unexpected error: {str(e)}"
if isinstance(e, SkyvernException):
failure_reason = f"unexpected SkyvernException({e.__class__.__name__}): {str(e)}"