diff options
| author | Matthieu <matthieu@developershouse.xyz> | 2021-10-13 13:09:35 +0400 |
|---|---|---|
| committer | Matthieu <matthieu@developershouse.xyz> | 2021-10-13 13:09:35 +0400 |
| commit | 1a10e1778ce34d704545433f6f462f72e4b905dd (patch) | |
| tree | 15e0701c3167f82212a824da0de61eadf5acf386 /webhook/src/main.rs | |
| parent | f74b150c5aea3bb8c4fdcda19554a5ef1eecf726 (diff) | |
add more tests for the webhook
Diffstat (limited to 'webhook/src/main.rs')
| -rw-r--r-- | webhook/src/main.rs | 3 |
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);
}
}
|
