Skip to content

Commit

Permalink
Invoke 'gdal.UseExceptions' in validate_cloud_optimized_geotiff.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rrowlands authored Oct 11, 2024
1 parent 6cf71ee commit fc39181
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,8 @@ def main(argv=sys.argv):
if filename is None:
return Usage()

gdal.UseExceptions()

if full_check is None:
full_check = filename.startswith("/vsimem/") or os.path.exists(filename)

Expand Down

0 comments on commit fc39181

Please sign in to comment.