diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-02-28 15:27:47 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-05-06 00:40:49 +0100 |
commit | 997f3c025f09de9912640f22ed236d0e74794211 (patch) | |
tree | 8cca8d1c74ec15ad6295051fe036712a82f2a28b | |
parent | Refactor mocked stuff in wrappers for easy setup/teardown and expose the fuse... (diff) | |
download | netfs-997f3c025f09de9912640f22ed236d0e74794211.tar.bz2 netfs-997f3c025f09de9912640f22ed236d0e74794211.tar.xz netfs-997f3c025f09de9912640f22ed236d0e74794211.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"); } } } |