Crates.io | pagerduty_panic |
lib.rs | pagerduty_panic |
version | 0.1.1 |
source | src |
created_at | 2020-10-13 15:11:49.418476 |
updated_at | 2022-09-21 07:40:04.678225 |
description | Send panic data to PagerDuty |
homepage | |
repository | https://github.com/eutampieri/pagerduty_panic |
max_upload_size | |
id | 299257 |
size | 5,103 |
This crate registers a panic handler that sends panic messages to PagerDuty.
pagerduty_panic::register_handler(
std::env::var("PAGERDUTY_TOKEN").unwrap(),
"Application name".to_owned(),
);