summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-02-28 15:27:47 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-02-28 15:27:47 +0000
commit83189328ed50206c7a9f129921af7645ff794146 (patch)
tree8cca8d1c74ec15ad6295051fe036712a82f2a28b
parentRefactor mocked stuff in wrappers for easy setup/teardown and expose the fuse... (diff)
downloadnetfs-83189328ed50206c7a9f129921af7645ff794146.tar.bz2
netfs-83189328ed50206c7a9f129921af7645ff794146.tar.xz
netfs-83189328ed50206c7a9f129921af7645ff794146.zip
Fix exception throwing on invalid fs proxy
-rw-r--r--netfs/fuse/fuseApp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/netfs/fuse/fuseApp.cpp b/netfs/fuse/fuseApp.cpp
index d579271..c90cc15 100644
--- a/netfs/fuse/fuseApp.cpp
+++ b/netfs/fuse/fuseApp.cpp
@@ -104,7 +104,7 @@ NetFS::FuseApp::connectToVolume()
}
volume = service->connect(e->second->ExportName, "bar");
if (!volume) {
- throw "Invalid filesystem proxy";
+ throw std::runtime_error("Invalid filesystem proxy");
}
}
}