Skip to content
Permalink
Browse files

Show project path in server parsing error (revert before release)

(an attempt to debug test failures in debian)
  • Loading branch information
nyalldawson committed Jan 1, 2016
1 parent 8042343 commit 368223ad0a0995b6d3ab0d55cd5e723557887ad5
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/server/qgsserver.cpp
@@ -537,7 +537,7 @@ QPair<QByteArray, QByteArray> QgsServer::handleRequest( const QString& queryStri
);
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
{
@@ -563,7 +563,7 @@ QPair<QByteArray, QByteArray> QgsServer::handleRequest( const QString& queryStri
);
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
{

0 comments on commit 368223a

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