Skip to content

Commit

Permalink
Show project path in server parsing error (revert before release)
Browse files Browse the repository at this point in the history
(an attempt to debug test failures in debian)
  • Loading branch information
nyalldawson committed Jan 1, 2016
1 parent 8042343 commit 368223a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/qgsserver.cpp
Expand Up @@ -537,7 +537,7 @@ QPair<QByteArray, QByteArray> QgsServer::handleRequest( const QString& queryStri
); );
if ( !p ) if ( !p )
{ {
theRequestHandler->setServiceException( QgsMapServiceException( "Project file error", "Error reading the project file" ) ); theRequestHandler->setServiceException( QgsMapServiceException( "Project file error", QString( "Error reading the project file: %1" ).arg( configFilePath ) ) );
} }
else else
{ {
Expand All @@ -563,7 +563,7 @@ QPair<QByteArray, QByteArray> QgsServer::handleRequest( const QString& queryStri
); );
if ( !p ) if ( !p )
{ {
theRequestHandler->setServiceException( QgsMapServiceException( "Project file error", "Error reading the project file" ) ); theRequestHandler->setServiceException( QgsMapServiceException( "Project file error", QString( "Error reading the project file: %1" ).arg( configFilePath ) ) );
} }
else else
{ {
Expand Down

0 comments on commit 368223a

Please sign in to comment.