Skip to content
Permalink
Browse files
Show stacktrace in debug when hitting a GEOS exception
  • Loading branch information
nyalldawson committed Feb 9, 2018
1 parent 9dd8136 commit b6ad920
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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 ) );
}

0 comments on commit b6ad920

Please sign in to comment.