Describe the bug
Observed while investigating a report on tileserver-gl. When creating a new symbol layer layout, a SymbolFeature constructor may throw during the call to getGeometries. This exception is uncaught up to the symbol layer factory and as createLayout is noexcept, the program simply terminates.
To Reproduce
Steps to reproduce the behavior:
Go to the tileserver-gl issue and follow the steps to reproduce.
Expected behavior
The library should handle this exception gracefully without terminating.
Screenshots
N/A
Platform information (please complete the following information):
OS: Debian GNU/Linux 11 (bullseye), Linux 5.10.0-19-amd64
Describe the bug Observed while investigating a report on tileserver-gl. When creating a new symbol layer layout, a SymbolFeature constructor may throw during the call to
getGeometries
. This exception is uncaught up to the symbol layer factory and ascreateLayout
isnoexcept
, the program simply terminates.To Reproduce Steps to reproduce the behavior:
Expected behavior The library should handle this exception gracefully without terminating.
Screenshots N/A
Platform information (please complete the following information):
Additional context
Call stack: