bitcraft / pytmx

Python library to read Tiled Map Editor's TMX maps.
GNU Lesser General Public License v3.0
384 stars 81 forks source link

Exception thrown for infinite map size lacks a message (pytmx.py, line 1426) #191

Closed TritionGames closed 1 week ago

TritionGames commented 2 weeks ago

Using an infinite tilemap isn't supported and so it raises an exception, but all the error message displays is simply "Exception"

https://github.com/bitcraft/pytmx/blob/7af805bc916e666fdf7165d5d6ba4c0eddfcde18/pytmx/pytmx.py#L1426

JaskRendix commented 1 week ago

I have updated the def in my open PR: https://github.com/bitcraft/pytmx/blob/d574e0975c9e78292edc321c5030410919092a3d/pytmx/pytmx.py#L1426