From aeb0bfa98bb0bfed5b9f4632b3a54887d05247f3 Mon Sep 17 00:00:00 2001 From: TheAssassin Date: Fri, 7 Aug 2020 20:15:02 +0200 Subject: [PATCH] Use consistent error message for all plugins --- src/main.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 653c9d8..8c74e76 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -339,8 +339,7 @@ int main(int argc, char** argv) { auto retcode = plugin->run(appDir.path()); if (retcode != 0) { - ldLog() << LD_ERROR << "Failed to run plugin:" << pluginName << std::endl; - ldLog() << LD_DEBUG << "Exited with return code:" << retcode << std::endl; + ldLog() << LD_ERROR << "Failed to run plugin:" << pluginName << "(exit code:" << retcode << LD_NO_SPACE << ")" << std::endl; return 1; } }