GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Provide a better error message by robertbrignull · Pull Request #564 · github/codeql-action

Conversation

@robertbrignull

@robertbrignull robertbrignull commented Jun 16, 2021

Copy link
Copy Markdown
Contributor

(Note this is merging into a feature branch, and not into main)

Suggestion from @aeisenberg on #563

This should provide a better error message in the case that the file at $GITHUB_EVENT_PATH doesn't exist or isn't valid JSON. I think this level of error handling should be fine and from here we can just let the error propagate upwards. Ideally we wouldn't want the database upload code to cause the action to fail, but that largely just applies to the HTTP requests. In this case an error here is both unlikely and a fundamental problem so I think failing is fine.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@robertbrignull
Provide a better error message
c989ee7
@robertbrignull robertbrignull assigned aeisenberg Jun 16, 2021
aeisenberg
aeisenberg approved these changes Jun 16, 2021
View reviewed changes
@robertbrignull
robertbrignull merged commit 6fc1280 into upload-database Jun 17, 2021
@robertbrignull
robertbrignull deleted the robertbrignull/workflow_event_error branch June 17, 2021 08:36
This was referenced Jun 21, 2021
Merge main into v1 #574
Closed
Merge main into v1 #585
Merged
@chrisjcox79 chrisjcox79 mentioned this pull request Jun 20, 2023
[Snyk] Security upgrade semver from 7.3.2 to 7.5.2 chrisjcox79/codeql-action#7
Open
This was referenced Jun 21, 2023
[Snyk] Security upgrade semver from 5.7.1 to 7.5.2 aliscco/codeql-action#526
Open
[Snyk] Fix for 1 vulnerabilities aliscco/codeql-action#547
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@aeisenberg aeisenberg aeisenberg approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@aeisenberg aeisenberg

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@robertbrignull @aeisenberg
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.