Skip to content

Commit

Permalink
Merge pull request #10993 from terraframe/master
Browse files Browse the repository at this point in the history
Invoke 'gdal.UseExceptions' in validate_cloud_optimized_geotiff.py
  • Loading branch information
rouault authored Oct 12, 2024
2 parents 6cf71ee + fc39181 commit ab889f8
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 ab889f8

Please sign in to comment.