summaryrefslogtreecommitdiff
path: root/src/mongo/util/text.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-01-25 14:31:30 -0500
committerEliot Horowitz <eliot@10gen.com>2012-01-25 14:31:45 -0500
commitab640c98350e81e3e36e48a97bf5c1d83f9af339 (patch)
tree627cca877e330fd52a0a6fefe824f3360f8a6f51 /src/mongo/util/text.cpp
parent03429ab9b5f323f2ab9a3ea092cd81984523d4a3 (diff)
downloadmongo-ab640c98350e81e3e36e48a97bf5c1d83f9af339.tar.gz
try to fix windows
Diffstat (limited to 'src/mongo/util/text.cpp')
-rw-r--r--src/mongo/util/text.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mongo/util/text.cpp b/src/mongo/util/text.cpp
index ca0e89dcef4..9fb8f93cc25 100644
--- a/src/mongo/util/text.cpp
+++ b/src/mongo/util/text.cpp
@@ -93,8 +93,7 @@ namespace mongo {
}
}
- throw boost::system::system_error(
- ::GetLastError(), boost::system::system_category);
+ msgasserted( 16062 , str::stream() << "can't wstring to utf8: " << ::GetLastError() );
}
#if defined(_UNICODE)