Files
librenms-librenms/LibreNMS
Lee Keitel 85492d245d Catch exceptions generated by alert transports (#10565)
* Catch exceptions generated by alert transports

The alert.php script would completely die if a single alert
transport generated an exception. For example the API transport
if CURL couldn't connect to the api endpoint. The script
should attempt to send alerts to all working transports and not
die because a single transport fails.

* Move alert transport creation into try block

Catch any potential exceptions during transport creation.
None of the transports currently implement __construct()
but the DB could throw and in the future there may be
a transport that does implement it.
2019-09-05 02:13:32 +00:00
..
2019-07-27 23:11:04 -05:00
2019-07-27 23:11:04 -05:00
2019-06-23 00:29:12 -05:00
2019-09-03 04:19:02 +00:00
2019-06-23 00:29:12 -05:00
2019-06-23 00:29:12 -05:00