mirror of https://github.com/ecmwf/eccodes.git
Examples: fix exception name
This commit is contained in:
parent
982f33570c
commit
e90a4034bc
|
@ -100,7 +100,7 @@ def main():
|
||||||
print("Error: ", err)
|
print("Error: ", err)
|
||||||
usage()
|
usage()
|
||||||
return 1
|
return 1
|
||||||
except GribInternalError as err:
|
except CodesInternalError as err:
|
||||||
if VERBOSE:
|
if VERBOSE:
|
||||||
traceback.print_exc(file=sys.stderr)
|
traceback.print_exc(file=sys.stderr)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue