From e90a4034bc80a7d517ef4b5bc059d8e079b721a6 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Tue, 10 May 2022 15:07:56 +0100 Subject: [PATCH] Examples: fix exception name --- examples/python/grib_ls_JSON.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: