Skip to content

[AutoPR] FIXME does nice syntax highlighting for tracebacks ... #126

Open
@github-actions

Description

@github-actions

FIXME does nice syntax highlighting for tracebacks, but should be made configurable

except Exception:
self.log.exception(f"Failed to run action {action_id}")
await publish_service.publish_code_block(
heading="Error",
code=traceback.format_exc(),
language="python", # FIXME
# does nice syntax highlighting for tracebacks, but should be made configurable
)
await publish_service.end_section(f"❌ Failed {action_id}")
raise
return outputs

When resolving this TODO, you can start by researching how the syntax highlighting for tracebacks is currently implemented. Once you understand the code, you can make it configurable by adding a configuration option or parameter that allows users to customize the syntax highlighting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions