librenms/resources
Jellyfrog 1dbab5ac7e
Error reporting (#14190)
* Error reporting

* Move code to ErrorReportingProvider
Enable reporting of error (and warning) messages.
report module exceptions

* Restore flare key
Not needed to set late anymore.  We set up filtering before it is initialized.

* Remove unnecessary and maybe double Flare report

* lint

* Cannot use typed properties yet, use phpdoc

* fix handleError return type

* Filter both exceptions and reports (so we don't miss any)
Consolidate the check if reporting should be enabled

* Cache reportingEnabled check for the runtime

* Split out middleware to improve readability
Logging of why reporting is disabled
Fix reportingEnabled cache

* Style

* Return some user data

* Change to class based middleware, it looks nicer

* Fix error page error id report, add url.

* also rewrite intended url

* remove link

* Move ignition to production and update flare-client

Co-authored-by: Tony Murray <murraytony@gmail.com>
2022-08-24 00:33:28 +02:00
..
css PHP-Flasher for toast messages (#13401) 2021-10-29 09:13:56 -05:00
js Fix snmp.timeout setting via Web UI (#13937) 2022-04-23 08:35:24 -05:00
lang Serbian translation, part3 (#14205) 2022-08-14 09:04:31 -05:00
sass Dispatcher Service settings (#11760) 2020-06-08 08:27:03 -05:00
views Error reporting (#14190) 2022-08-24 00:33:28 +02:00