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 b6ad920404a195ebe64a9a79454e21eb642faa10
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/geometry/qgsgeos.cpp
@@ -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.
You can’t perform that action at this time.