mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Returns an 'Internal Server Error' exception
This commit is contained in:
parent
096bd79565
commit
e57e85d557
@ -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 );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user