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

Do not rely on Exception having getParams() method in caughtException #16

Merged
merged 1 commit into from
Mar 28, 2019

Conversation

PhilippGrashoff
Copy link
Contributor

We cannot rely on that the Exception processed in caughtException() is a descendant of \atk4\core\Exception. Its possible that its another Exception which does not have this method. trying to call it will make the function fail.

We cannot rely on that the Exception processed in caughtException() is a descendant of \atk4\core\Exception. Its possible that its another Exception which does not have this method. trying to call it will make the function fail.
Copy link
Member

@DarkSide666 DarkSide666 left a comment

Choose a reason for hiding this comment

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

very good, thanks!

@DarkSide666 DarkSide666 merged commit 19249f4 into atk4:develop Mar 28, 2019
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.

2 participants