Skip to content

Commit b6ad920

Browse files
committed
Show stacktrace in debug when hitting a GEOS exception
1 parent 9dd8136 commit b6ad920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/geometry/qgsgeos.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ static void throwGEOSException( const char *fmt, ... )
5959
vsnprintf( buffer, sizeof buffer, fmt, ap );
6060
va_end( ap );
6161

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

6464
throw GEOSException( QString::fromUtf8( buffer ) );
6565
}

0 commit comments

Comments
 (0)