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

Make log output safe for windows prompt #96

Merged
merged 1 commit into from
May 8, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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