Navigation Menu

Skip to content

Commit

Permalink
Show stacktrace in debug when hitting a GEOS exception
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 9, 2018
1 parent 9dd8136 commit b6ad920
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/geometry/qgsgeos.cpp
Expand Up @@ -59,7 +59,7 @@ static void throwGEOSException( const char *fmt, ... )
vsnprintf( buffer, sizeof buffer, fmt, ap );
va_end( ap );

QgsDebugMsg( QString( "GEOS exception: %1" ).arg( buffer ) );
qWarning( "GEOS exception: %s", buffer );

throw GEOSException( QString::fromUtf8( buffer ) );
}
Expand Down

0 comments on commit b6ad920

Please sign in to comment.