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

Add error suggestions #81

Merged
merged 1 commit into from
Jan 2, 2025
Merged

Conversation

wlynch
Copy link
Collaborator

@wlynch wlynch commented Jan 2, 2025

Adds an optional error wrapper that will output raw unescaped HTML. This can be used to attach optional suggestions for common errors / next steps we expect people to take.

For the first impl, adds a suggestion to prompt people to go to the catalog view if the repository doesn't exist. Also removes the special casing for cgr.dev/chainguard as a result.

Adds an option error wrapper that will output raw unescaped HTML. This
can be used to attach optional suggestions for common errors / next
steps we expect people to take.

For the first impl, adds a suggestion to prompt people to go to the
catalog view if the repository doesn't exist. Also removes the special
casing for cgr.dev/chainguard as a result.
@jonjohnsonjr jonjohnsonjr merged commit 6620e89 into jonjohnsonjr:main Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants