Skip to content

Commit

Permalink
Fix error mesasge (#1142)
Browse files Browse the repository at this point in the history
* Avoid log spam if we can't deser the graph. Uses the test that's checkedin.

* Make fmt

* Fix

* Fix
  • Loading branch information
stangirala authored Dec 31, 2024
1 parent 038fbb8 commit b9bdbd2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ async def _create_function_executor(self) -> FunctionExecutor:
return function_executor
except Exception as e:
self._logger.error(
"failed to initialize function executor",
exc_info=e,
f"failed to initialize function executor: {e.details()}",
# exc_info=e.details(),
)
await function_executor.destroy()
raise
Expand Down
4 changes: 2 additions & 2 deletions python-sdk/indexify/executor/task_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ async def run(self, task_input: TaskInput, logger: Any) -> TaskOutput:
return await self._run(task_input, logger)
except Exception as e:
logger.error(
"failed running the task",
exc_info=e,
f"failed running the task: {e.details()}",
# exc_info=e.debug_error_string(),
)
return TaskOutput.internal_error(task_input.task)

Expand Down

0 comments on commit b9bdbd2

Please sign in to comment.