aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2017-11-16 23:53:23 +0100
committerTeddy Wing2017-11-16 23:53:23 +0100
commit01fa452209dcea101809fd1b224e029ae4f4a9d9 (patch)
tree58b71e389938d4568d56e2deb801129ab0087ec9
parent4f8f9fc7497d62385cc4d82c36892587703352f0 (diff)
downloadkipper-01fa452209dcea101809fd1b224e029ae4f4a9d9.tar.bz2
main(): Remove commented `return`
This error handler now lives inside a `thread::spawn()` rather than inside the HTTP request handler, so we shouldn't return an HTTP response here.
-rw-r--r--src/main.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main.rs b/src/main.rs
index 211a680..6bb4594 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -158,11 +158,7 @@ fn main() {
github_token,
) {
Ok(_) => {},
- Err(e) => {
- error!("{}", e.to_string());
-
- // return internal_server_error()
- },
+ Err(e) => error!("{}", e.to_string()),
};
});