Skip to content

Commit

Permalink
display plugin name when an error occured in qgis_process
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry authored and nyalldawson committed Apr 16, 2020
1 parent 29adf2e commit cac5a0c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/process/qgsprocess.cpp
Expand Up @@ -262,11 +262,11 @@ void QgsProcessingExec::loadPlugins()
{
if ( !mPythonUtils->loadPlugin( plugin ) )
{
std::cerr << "error loading plugin\n\n";
std::cerr << "error loading plugin: " << plugin.toLocal8Bit().constData() << "\n\n";
}
else if ( !mPythonUtils->startProcessingPlugin( plugin ) )
{
std::cerr << "error starting plugin\n\n";
std::cerr << "error starting plugin: " << plugin.toLocal8Bit().constData() << "\n\n";
}
}
}
Expand Down

0 comments on commit cac5a0c

Please sign in to comment.