From 535059290ed962a3a8877b730e1542dd562488aa Mon Sep 17 00:00:00 2001 From: Sakuhl <2012collector@gmail.com> Date: Mon, 15 Jan 2018 17:53:44 +0100 Subject: [PATCH] Make sure server is online --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 906dad9..d7bfb9a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -52,7 +52,7 @@ fn main() { .on_conflict(guilds::prefix) .do_nothing() .execute(&conn) { - let _ = reqwest::get("https://https://wynnapi.herokuapp.com/"); + let _ = reqwest::get("https://https://wynnapi.herokuapp.com/").unwrap(); } else { println!("Fail!"); }