#9544

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #9544
| License       | MIT
| Doc PR        | 

My after HackingDay contribution :) @jakzal.
Problem was while loop witch extract only first exception. Now Listener walk through all exception and check if any is security exception.