aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorTeddy Wing2018-09-25 18:43:06 +0200
committerTeddy Wing2018-09-25 18:43:06 +0200
commit0ec3b951795b04359ddc99ef9199a45a9b60bf03 (patch)
tree9b9f298a94480f85b9b301841cca362ba57fd659 /src/lib.rs
parent43cb01b377d5fcb01acd7a2972cca2b428eeef33 (diff)
downloaddome-key-map-0ec3b951795b04359ddc99ef9199a45a9b60bf03.tar.bz2
state_load_map_group(): Log errors instead of panicking
This allows us to log the errors without exiting the program.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 16be4e0..13d70e8 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -4,6 +4,9 @@ extern crate autopilot;
#[macro_use]
extern crate combine;
extern crate libc;
+
+#[macro_use]
+extern crate log;
extern crate xdg;
mod cocoa_bridge;