summaryrefslogtreecommitdiff
path: root/webhook/src/main.rs
diff options
context:
space:
mode:
authorMatthieu <matthieu@developershouse.xyz>2021-10-13 13:09:35 +0400
committerMatthieu <matthieu@developershouse.xyz>2021-10-13 13:09:35 +0400
commit1a10e1778ce34d704545433f6f462f72e4b905dd (patch)
tree15e0701c3167f82212a824da0de61eadf5acf386 /webhook/src/main.rs
parentf74b150c5aea3bb8c4fdcda19554a5ef1eecf726 (diff)
add more tests for the webhook
Diffstat (limited to 'webhook/src/main.rs')
-rw-r--r--webhook/src/main.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/webhook/src/main.rs b/webhook/src/main.rs
index b213e9d..eef4751 100644
--- a/webhook/src/main.rs
+++ b/webhook/src/main.rs
@@ -15,6 +15,7 @@ async fn main() {
}
async fn start(settings: Settings<Config>) {
+
let addr = format!(
"{}:{}",
settings.config.server.address, settings.config.server.port
@@ -36,6 +37,6 @@ async fn start(settings: Settings<Config>) {
});
if let Err(e) = server.await {
- panic!("server error: {}", e);
+ error!("server error: {}", e);
}
}