From 997f3c025f09de9912640f22ed236d0e74794211 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 28 Feb 2015 15:27:47 +0000 Subject: Fix exception throwing on invalid fs proxy --- netfs/fuse/fuseApp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } } } -- cgit v1.2.3