diff --git a/examples/python/grib_ls_JSON.py b/examples/python/grib_ls_JSON.py index 19d045cd5..60692671b 100644 --- a/examples/python/grib_ls_JSON.py +++ b/examples/python/grib_ls_JSON.py @@ -100,7 +100,7 @@ def main(): print("Error: ", err) usage() return 1 - except GribInternalError as err: + except CodesInternalError as err: if VERBOSE: traceback.print_exc(file=sys.stderr) else: