diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-02-28 15:27:47 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-02-28 15:27:47 +0000 |
commit | 83189328ed50206c7a9f129921af7645ff794146 (patch) | |
tree | 8cca8d1c74ec15ad6295051fe036712a82f2a28b | |
parent | Refactor mocked stuff in wrappers for easy setup/teardown and expose the fuse... (diff) | |
download | netfs-83189328ed50206c7a9f129921af7645ff794146.tar.bz2 netfs-83189328ed50206c7a9f129921af7645ff794146.tar.xz netfs-83189328ed50206c7a9f129921af7645ff794146.zip |
Fix exception throwing on invalid fs proxy
-rw-r--r-- | netfs/fuse/fuseApp.cpp | 2 |
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"); } } } |