changeset 43:46e45b4a4a03 errorcode

Wrong version should be an error
author Chris Cannam
date Fri, 31 Aug 2018 09:42:43 +0100
parents 49946b02414e
children 0f7df035192d
files src/plugincandidates.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugincandidates.cpp	Thu Aug 30 12:32:55 2018 +0100
+++ b/src/plugincandidates.cpp	Fri Aug 31 09:42:43 2018 +0100
@@ -119,7 +119,7 @@
         log("wrong plugin checker helper version found: expected v" +
             string(CHECKER_COMPATIBILITY_VERSION) + ", found v" +
             helperVersion);
-        return;
+        throw runtime_error("wrong version of plugin load helper found");
     }
     
     vector<string> libraries = getLibrariesInPath(pluginPath);