ezplatform-admin-ui
ezplatform-admin-ui copied to clipboard
IBX-1948: Log exceptions from admin-ui
Question | Answer |
---|---|
Tickets | https://issues.ibexa.co/browse/IBX-1948 |
Bug fix? | yes |
New feature? | no |
BC breaks? | no |
Tests pass? | yes/no |
Doc needed? | no |
License | GPL-2.0 |
Note when merging : I think [log level](https://github.com/ezsystems/ezplatform-admin-ui/blob#### Checklist:
- [x] Coding standards (
$ composer fix-cs
) - [x] Ready for Code Review
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
@vidarl could you please address @Steveb-p feedback ?
Hi @adamwojs . Yes, sorry about the delay. I'll have a look next week
@vidarl could you please address @Steveb-p feedback ?
@adamwojs , I have done so, but I have some comments. Please see the unresolved threads.
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
0.0% Duplication
SonarCloud Quality Gate failed.
0 Bugs
0 Vulnerabilities
0 Security Hotspots
1 Code Smell
No Coverage information
0.0% Duplication
Hi, How do I get this commit into my DXP build? I really need the admin UI to log errors becuase it's very difficult to troubleshoot. Please review this commit and if passed/ merge.
Hi, How do I get this commit into my DXP build? I really need the admin UI to log errors becuase it's very difficult to troubleshoot. Please review this commit and if passed/ merge.
@davidsayre Sorry, it kinda went under the radar.
As a workaround, you can create a service in your project, and make it listen to kernel.exception
events, with priority higher than this listener (which is currently 0
priority, so at minimum 1
). Then follow normal Symfony rules for injecting logger and log the error in the same fashion as is done here.
Everything is resolved. Ready for merge now ? @Steveb-p
SonarCloud Quality Gate failed.
0 Bugs
0 Vulnerabilities
0 Security Hotspots
1 Code Smell
No Coverage information
0.0% Duplication