Skip to content
Permalink
Browse files

Provide some hints for new users when there is a project file error

  • Loading branch information
rduivenvoorde committed Apr 17, 2020
1 parent e635215 commit 3a8d4d05439dda33494885cc1194b805340030d6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/server/qgsserver.cpp
@@ -397,7 +397,7 @@ void QgsServer::handleRequest( QgsServerRequest &request, QgsServerResponse &res
// Project is mandatory for OWS at this point
if ( ! project )
{
throw QgsServerException( QStringLiteral( "Project file error" ) );
throw QgsServerException( QStringLiteral( "Project file error. For OWS services: please provide a SERVICE and a MAP parameter pointing to a valid QGIS project file" ) );
}

if ( ! params.fileName().isEmpty() )

0 comments on commit 3a8d4d0

Please sign in to comment.
You can’t perform that action at this time.