panic_at_the_disco/
lib.rs

1extern crate open;
2
3pub fn init() {
4    std::panic::set_hook(Box::new(|panic_info| {
5        if Some(&"at the disco") == panic_info.payload().downcast_ref::<&str>() {
6           open::that("https://www.youtube.com/watch?v=H5NqIsnyTG8").ok();
7        }
8    }));
9}