-
Notifications
You must be signed in to change notification settings - Fork 90
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
Laravel: handle possible LogWatcher TypeError's #311
Laravel: handle possible LogWatcher TypeError's #311
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #311 +/- ##
============================================
+ Coverage 80.17% 86.11% +5.93%
+ Complexity 1028 73 -955
============================================
Files 98 6 -92
Lines 4268 360 -3908
============================================
- Hits 3422 310 -3112
+ Misses 846 50 -796
Flags with carried forward coverage won't be shown. Click here to find out more. see 92 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
… to filter log levels.
c7a5d84
to
2166ec5
Compare
If we plan to only support Laravel versions 10 + and above. I think the Laravel dependency in
|
Yes to v1.1 moving to support 10 + 11 👍 This package should still work down to Laravel 6; it is just hard to make progress when having to test so many end-of-life versions! |
Very good plan. If multi-version compatibility needs to be considered, it is a challenge. Currently, accelerating the advancement of Laravel in OTEL may be a more priority task to do. 💪🏻 |
Based on reported issues in #306 (with thanks to @flc1125 for raising it).
Given we are close to moving to package 1.1.x and dropping support of Laravel 6-9, then it may be preferable to restore the previous behaviour and allow the log messages through. This would keep the package viable for the older Laravel versions.
Unfortunately, there's no log level filtering at that point but I think it's better to handle this gracefully.
The approach in #306 could also provide a stable v1, while we look to tackle this more elegantly in future.