[Tile-serving] [openstreetmap/osm2pgsql] Provide a stack trace on a lua error with flex backend (#1136)
Paul Norman
notifications at github.com
Mon Apr 27 05:01:33 UTC 2020
I don't care about the C++ backtrace, I want the lua stack traceback. I have no idea what function add_row was called from.
The lua interpreter's stack traceback is
```
lua: ./openstreetmap-carto.lua:555: bad argument #1 to 'ipairs' (table expected, got nil)
stack traceback:
[C]: in function 'ipairs'
./openstreetmap-carto.lua:555: in function 'add_route'
./openstreetmap-carto.lua:610: in function 'process_relation'
test.lua:316: in main chunk
[C]: in ?
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1136#issuecomment-619719826
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200426/11686754/attachment.htm>
More information about the Tile-serving
mailing list