Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add log message
  • Loading branch information
pblottiere committed Mar 10, 2021
1 parent d9dfa5d commit 822dd11
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/qgsmaplayer.cpp
Expand Up @@ -56,6 +56,7 @@
#include "qgsvectordataprovider.h"
#include "qgsxmlutils.h"
#include "qgsstringutils.h"
#include "qgsmessagelog.h"
#include "qgsmaplayertemporalproperties.h"
#include "qgsmaplayerelevationproperties.h"

Expand Down Expand Up @@ -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();
}
}
Expand Down

0 comments on commit 822dd11

Please sign in to comment.