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

Remove try catch throw #2676

Merged
merged 1 commit into from
Nov 7, 2022
Merged

Remove try catch throw #2676

merged 1 commit into from
Nov 7, 2022

Conversation

luigifab
Copy link
Contributor

@luigifab luigifab commented Nov 6, 2022

Description

This remove the try { } catch ($e) { throw $e }.

OpenMage 20.0.16 / PHP 8.0.25

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All automated tests passed successfully (all builds are green)

@sreichel
Copy link
Contributor

sreichel commented Nov 6, 2022

Whats wrong with this code?

@fballiano
Copy link
Contributor

Whats wrong with this code?

it's useless to catch an exception and throwing it again in the "catch" right?

@fballiano fballiano merged commit 62d2598 into OpenMage:1.9.4.x Nov 7, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Nov 7, 2022

Unit Test Results

1 files  1 suites   0s ⏱️
0 tests 0 ✔️ 0 💤 0 ❌
7 runs  5 ✔️ 2 💤 0 ❌

Results for commit 62d2598.

@luigifab luigifab deleted the newsletter-already branch November 7, 2022 09:57
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.

5 participants