Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update src/server/services/wms/qgswmsgetcapabilities.cpp
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
  • Loading branch information
elpaso and m-kuhn committed Nov 30, 2020
1 parent d84624c commit c75ea6e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/server/services/wms/qgswmsgetcapabilities.cpp
Expand Up @@ -2041,7 +2041,7 @@ namespace QgsWms
}
else
{
QgsMessageLog::logMessage( QStringLiteral( "Broken/corrupted layer tree: check your project!" ), QStringLiteral( "Server" ), Qgis::MessageLevel::Warning );
QgsMessageLog::logMessage( QStringLiteral( "Broken/corrupted layer tree, layer '%1' does not exist: check your project!" ).arg( treeLayer->name() ), QStringLiteral( "Server" ), Qgis::MessageLevel::Warning );
}
}
return false;
Expand All @@ -2052,4 +2052,3 @@ namespace QgsWms




0 comments on commit c75ea6e

Please sign in to comment.