Skip to content
Permalink
Browse files

Add log message

  • Loading branch information
pblottiere committed Mar 10, 2021
1 parent d9dfa5d commit 822dd11192dddd74d669957e0ef72347817ad6be
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/core/qgsmaplayer.cpp
@@ -56,6 +56,7 @@
#include "qgsvectordataprovider.h"
#include "qgsxmlutils.h"
#include "qgsstringutils.h"
#include "qgsmessagelog.h"
#include "qgsmaplayertemporalproperties.h"
#include "qgsmaplayerelevationproperties.h"

@@ -2028,6 +2029,7 @@ QgsRectangle QgsMapLayer::wgs84Extent( bool forceRecalculate ) const
}
catch ( const QgsCsException &cse )
{
QgsMessageLog::logMessage( tr( "Error transforming extent: %1" ).arg( cse.what() ) );
wgs84Extent = QgsRectangle();
}
}

0 comments on commit 822dd11

Please sign in to comment.