Skip to content

Commit

Permalink
Provide some hints for new users when there is a project file error
Browse files Browse the repository at this point in the history
  • Loading branch information
rduivenvoorde committed Apr 29, 2020
1 parent e635215 commit 3a8d4d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/qgsserver.cpp
Expand Up @@ -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() )
Expand Down

0 comments on commit 3a8d4d0

Please sign in to comment.