aboutsummaryrefslogtreecommitdiffstats
path: root/license-generator/src/lib.rs
diff options
context:
space:
mode:
authorTeddy Wing2018-11-11 02:11:36 +0100
committerTeddy Wing2018-11-11 02:11:36 +0100
commitedf6fceedd9b4169ceb63172c60733ef84d78951 (patch)
tree5ff59d7708ad13b68d8a211b10d283a5c9dd972c /license-generator/src/lib.rs
parenta9f405988052a49ad3ebbe2a5b1f0db80036b2cd (diff)
downloaddome-key-web-edf6fceedd9b4169ceb63172c60733ef84d78951.tar.bz2
main(): Extract 500 errors to a function
Clean up the `main()` function by extracting all these similar lines to a function.
Diffstat (limited to 'license-generator/src/lib.rs')
-rw-r--r--license-generator/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/license-generator/src/lib.rs b/license-generator/src/lib.rs
index f83dbbf..3e8ae4b 100644
--- a/license-generator/src/lib.rs
+++ b/license-generator/src/lib.rs
@@ -1,5 +1,7 @@
#[macro_use]
extern crate error_chain;
+
+#[macro_use]
extern crate log;
extern crate mysql;
extern crate paddle;