mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-12 00:02:25 -04:00
Log exception on server side
This commit is contained in:
parent
e9067834eb
commit
10c02e72a1
@ -84,5 +84,8 @@ void QgsServerResponse::write( const QgsServerException &ex )
|
||||
setStatusCode( ex.responseCode() );
|
||||
setHeader( "Content-Type", responseFormat );
|
||||
write( ba );
|
||||
|
||||
// log exception on server side too
|
||||
QgsMessageLog::logMessage( ba, QStringLiteral( "Server" ), Qgis::Critical );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user