Skip to content

Print exception traceback to stderr #283

@rakovskij-stanislav

Description

@rakovskij-stanislav

self.log.exception("Failed to process task - %s", self.current_task.uid)

For now, failed task makes these things:

  • prints "Failed to process task - %s", self.current_task.uid to logs
  • saves traceback in task body
  • sets Crashed status on task

It could be useful also to optionally print the whole traceback in stderr. So I suggest to add this feature via flag karton.print_exception_to_stderr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions