Skip to content

Commit

Permalink
improve vibed-mongo/source/app.d
Browse files Browse the repository at this point in the history
  • Loading branch information
9il committed Apr 26, 2015
1 parent ae8e2ed commit ebdcf63
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/vibed-mongo/source/app.d
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ shared static this()
{
with(error) res.writeBody(
format("Code: %s\n Message: %s\n Exception: %s",
error.code,
error.message,
error.exception ? error.exception.msg : ""));
code,
message,
exception ? exception.msg : ""));
};
}

logInfo("Listen http://127.0.0.1:8080");
//Listening http://127.0.0.1:8080
listenHTTP(settings, router);
}

0 comments on commit ebdcf63

Please sign in to comment.