Skip to content

Commit

Permalink
compile fix for windows SERVER-551
Browse files Browse the repository at this point in the history
  • Loading branch information
erh committed Jan 19, 2010
1 parent 069d9e9 commit b7b8ac1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions util/miniwebserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,9 @@ namespace mongo {
responseMsg = "error loading page: ";
responseMsg += e.what();
}
catch ( std::exception& e ){
catch ( ... ){
responseCode = 500;
responseMsg = "error loading page: ";
responseMsg += e.what();
responseMsg = "unknown error loading page";
}

stringstream ss;
Expand Down

0 comments on commit b7b8ac1

Please sign in to comment.