aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorEllie Huxtable <e@elm.sh>2021-04-14 18:40:50 +0100
committerGitHub <noreply@github.com>2021-04-14 17:40:50 +0000
commitf6de558070c4ed4dbecf4bbbf4693e396a5577dc (patch)
tree174dcd5f1341e2845ea30cff6521e36170e8a0d5 /src/main.rs
parentBump reqwest from 0.11.2 to 0.11.3 (#33) (diff)
downloadatuin-f6de558070c4ed4dbecf4bbbf4693e396a5577dc.zip
Optimise docker (#34)
* Smaller dockerfile, better error handling * Add config dir
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index ae459807..94c7366d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -6,6 +6,7 @@
use std::path::PathBuf;
use eyre::{eyre, Result};
+use human_panic::setup_panic;
use structopt::{clap::AppSettings, StructOpt};
#[macro_use]
@@ -73,6 +74,7 @@ impl Atuin {
}
fn main() -> Result<()> {
+ setup_panic!();
let settings = Settings::new()?;
fern::Dispatch::new()