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

replace CircleCI with GitHub Actions #240

Merged
merged 3 commits into from
Aug 15, 2023
Merged

replace CircleCI with GitHub Actions #240

merged 3 commits into from
Aug 15, 2023

Conversation

mavendonovanhubbard
Copy link
Contributor

No description provided.

@diclophis diclophis self-requested a review August 15, 2023 17:10
Copy link
Member

@diclophis diclophis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea looks good

end
subject.save!
rescue StandardError
nil
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would think the begin block is necessary here. Otherwise doesn't it always return nil?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yea, there might be a special syntax case for rescue without begin...

you can also do stuff like

def thang(args)
  # ... stuff that might raise exception
rescue ExceptionBit
  # ... yadda
end

@mavendonovanhubbard mavendonovanhubbard merged commit e8d778e into master Aug 15, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants