Skip to content
Permalink
Browse files

Merge pull request #34256 from pblottiere/server_level_exception

Raise log level of server exception
  • Loading branch information
pblottiere committed Feb 7, 2020
2 parents ddaf839 + 78109c6 commit f9c341b4d460afe8d0a7c8388c848fd02f24a82f
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/server/qgsserver.cpp
  2. +1 −1 src/server/qgsserviceregistry.cpp
@@ -423,7 +423,7 @@ void QgsServer::handleRequest( QgsServerRequest &request, QgsServerResponse &res
{
responseDecorator.write( ex );
QString format;
QgsMessageLog::logMessage( ex.formatResponse( format ), QStringLiteral( "Server" ), Qgis::Info );
QgsMessageLog::logMessage( ex.formatResponse( format ), QStringLiteral( "Server" ), Qgis::Warning );
}
catch ( QgsException &ex )
{
@@ -128,7 +128,7 @@ void QgsServiceRegistry::registerService( QgsService *service )
return;
}

QgsMessageLog::logMessage( QStringLiteral( "Adding service %1 %2" ).arg( name, version ) );
QgsMessageLog::logMessage( QStringLiteral( "Adding service %1 %2" ).arg( name, version ), QStringLiteral( "Server" ), Qgis::Info );
mServices.insert( key, std::shared_ptr<QgsService>( service ) );

// Check the default version

0 comments on commit f9c341b

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