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

CatchingGeneralExceptionRule should detect except statement without "on" keyword #4

Closed
joachimmarder opened this issue Feb 10, 2021 · 0 comments
Labels
bug Something isn't working rule
Milestone

Comments

@joachimmarder
Copy link

joachimmarder commented Feb 10, 2021

The CatchingGeneralExceptionRule does not currently detect this situation

try
  SomeMethode();
except
  HandleException();
end;

http://docwiki.embarcadero.com/RADStudio/Sydney/en/Exceptions_(Delphi)

@joachimmarder joachimmarder added bug Something isn't working rule labels Feb 10, 2021
@joachimmarder joachimmarder pinned this issue Feb 12, 2021
@joachimmarder joachimmarder added this to the 1.0.7 milestone Feb 16, 2021
x3ntrix pushed a commit that referenced this issue Jul 30, 2021
- except HandleException(); is now detected (#4)
- on Exception do is now also detected
@x3ntrix x3ntrix closed this as completed Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working rule
Projects
None yet
Development

No branches or pull requests

2 participants