summaryrefslogtreecommitdiff
path: root/netfs
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-05-06 00:40:49 +0100
commit997f3c025f09de9912640f22ed236d0e74794211 (patch)
tree8cca8d1c74ec15ad6295051fe036712a82f2a28b /netfs
parentRefactor mocked stuff in wrappers for easy setup/teardown and expose the fuse... (diff)
downloadnetfs-997f3c025f09de9912640f22ed236d0e74794211.tar.bz2
netfs-997f3c025f09de9912640f22ed236d0e74794211.tar.xz
netfs-997f3c025f09de9912640f22ed236d0e74794211.zip
Fix exception throwing on invalid fs proxy
Diffstat (limited to 'netfs')
-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");
}
}
}