diff --git a/dbtests/framework.cpp b/dbtests/framework.cpp index f03ec8d9e9a..7b35921de07 100644 --- a/dbtests/framework.cpp +++ b/dbtests/framework.cpp @@ -172,7 +172,7 @@ namespace mongo { boost::filesystem::remove_all(p); } boost::filesystem::create_directory(p); - } catch (boost::filesystem::basic_filesystem_error &e) {} + } catch (std::runtime_error &e) {} string dbpathString = p.native_directory_string(); dbpath = dbpathString.c_str();