diff options
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 74e1252..6ef7ee1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -15,13 +15,14 @@ // along with this program. If not, see <https://www.gnu.org/licenses/>. ///// -use core::panic; - use backend::cliargs::{self, CLIArgs}; use color_eyre::eyre::Result; +use core::panic; +use errorsetup::init_error_hooks; use frontend::app::App; pub mod backend; +pub mod errorsetup; pub mod frontend; #[tokio::main] @@ -45,6 +46,8 @@ async fn main() -> Result<()> { panic!("No \'.bib\' file passed, aborting") } + init_error_hooks()?; + // Create an application. let mut app = App::new(parsed_args)?; |
