Skip to content

Commit

Permalink
Show err
Browse files Browse the repository at this point in the history
  • Loading branch information
kubilus1 committed Dec 4, 2022
1 parent 1e51810 commit 4ad770a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ortho4xp.diff
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ index 3bd794c..fffa9e9 100644
-use_decal_on_terrain=False
+use_decal_on_terrain=True
diff --git a/Ortho4XP_v130.py b/Ortho4XP_v130.py
index 58b10c9..d6319bc 100755
index 58b10c9..808b373 100755
--- a/Ortho4XP_v130.py
+++ b/Ortho4XP_v130.py
@@ -61,15 +61,27 @@ if __name__ == '__main__':
@@ -61,15 +61,28 @@ if __name__ == '__main__':
tile=CFG.Tile(lat,lon,'')
tile.default_website=provider_code
tile.default_zl=zoomlevel
Expand All @@ -85,9 +85,11 @@ index 58b10c9..d6319bc 100755
- TILE.build_tile(tile)
+ success = TILE.build_tile(tile)
print("Bon vol!")
except:
- except:
+ except Exception as e:
print("Crash!")
-
+ print(e)
+ sys.exit(1)
+
+ if success:
Expand Down

0 comments on commit 4ad770a

Please sign in to comment.