Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
github-actions bot opened this issue Nov 5, 2023 · 0 comments
Open

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

github-actions bot opened this issue Nov 5, 2023 · 0 comments
Labels

Comments

@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2023

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.

@github-actions github-actions bot added the medium label Nov 5, 2023
pull bot pushed a commit to TheRakeshPurohit/AutoPR that referenced this issue Nov 6, 2023
…909-4716-af45-3a2cf19ee0eb

Merged automatically by AutoPR
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants