diff --git a/.gitignore b/.gitignore index 5c673b3..776d5b1 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ **/*.rs.bk /.idea config.json -/.vscode/ \ No newline at end of file +/.vscode/ +Cargo.lock \ No newline at end of file diff --git a/src/config.rs b/src/config.rs index d1481ec..8d40f58 100644 --- a/src/config.rs +++ b/src/config.rs @@ -39,6 +39,7 @@ impl Configuration { ); let response = request::get_request(&request); + match response { Ok(res) => { let document = Document::from_read(res) @@ -85,4 +86,4 @@ pub fn init_config() -> Configuration { let config: Configuration = serde_json::from_str(&data).expect("Couldn't parse JSON!"); config -} \ No newline at end of file +}