Skip to content

Commit 02499d2

Browse files
committed
Revert "Show project path in server parsing error (revert before release)"
This reverts commit 368223a.
1 parent c8dffaf commit 02499d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/server/qgsserver.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ QPair<QByteArray, QByteArray> QgsServer::handleRequest( const QString& queryStri
539539
);
540540
if ( !p )
541541
{
542-
theRequestHandler->setServiceException( QgsMapServiceException( "Project file error", QString( "Error reading the project file: %1" ).arg( configFilePath ) ) );
542+
theRequestHandler->setServiceException( QgsMapServiceException( "Project file error", "Error reading the project file" ) );
543543
}
544544
else
545545
{
@@ -565,7 +565,7 @@ QPair<QByteArray, QByteArray> QgsServer::handleRequest( const QString& queryStri
565565
);
566566
if ( !p )
567567
{
568-
theRequestHandler->setServiceException( QgsMapServiceException( "Project file error", QString( "Error reading the project file: %1" ).arg( configFilePath ) ) );
568+
theRequestHandler->setServiceException( QgsMapServiceException( "Project file error", "Error reading the project file" ) );
569569
}
570570
else
571571
{

0 commit comments

Comments
 (0)