Skip to content
This repository has been archived by the owner on Apr 1, 2019. It is now read-only.

Commit

Permalink
Make log output safe for windows prompt (#96)
Browse files Browse the repository at this point in the history
* server: make log output safe for windows prompt

The characters "←" and "→" are obfuscated in the Windows command
prompt.  Use ASCII versions.
  • Loading branch information
andreastt authored and jgraham committed May 8, 2017
1 parent d568fd0 commit 6de6e22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ impl<U: WebDriverExtensionRoute> Handler for HttpHandler<U> {
req.read_to_string(&mut body).unwrap();
}

debug!(" {} {} {}", req.method, req.uri, body);
debug!("-> {} {} {}", req.method, req.uri, body);

match req.uri {
AbsolutePath(path) => {
Expand Down Expand Up @@ -218,7 +218,7 @@ impl<U: WebDriverExtensionRoute> Handler for HttpHandler<U> {
Err(err) => (err.http_status(), err.to_json_string()),
};

debug!(" {} {}", status, resp_body);
debug!("<- {} {}", status, resp_body);

{
let resp_status = res.status_mut();
Expand Down

0 comments on commit 6de6e22

Please sign in to comment.