We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85ff90f commit 5f33137Copy full SHA for 5f33137
src/server/qgsconfigcache.cpp
@@ -47,6 +47,12 @@ const QgsProject *QgsConfigCache::project( const QString &path )
47
mProjectCache.insert( path, prj.release() );
48
mFileSystemWatcher.addPath( path );
49
}
50
+ else
51
+ {
52
+ QgsMessageLog::logMessage(
53
+ this->tr( "Error when loading project file '%1': %2 " ).arg( path, prj->error() ),
54
+ QStringLiteral( "Server" ), Qgis::Critical );
55
+ }
56
57
QgsProject::setInstance( mProjectCache[ path ] );
58
return mProjectCache[ path ];
0 commit comments