Skip to content

Commit

Permalink
Returns an 'Internal Server Error' exception
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Mar 22, 2019
1 parent 096bd79 commit e57e85d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/qgsserver.cpp
Expand Up @@ -352,7 +352,7 @@ void QgsServer::handleRequest( QgsServerRequest &request, QgsServerResponse &res
catch ( QgsException &ex )
{
// Internal server error
response.sendError( 500, ex.what() );
response.sendError( 500, QStringLiteral( "Internal Server Error" ) );
QgsMessageLog::logMessage( ex.what(), QStringLiteral( "Server" ), Qgis::Critical );
}
}
Expand Down

0 comments on commit e57e85d

Please sign in to comment.