Skip to content
Snippets Groups Projects
Commit d6ff28dd authored by Max Drexler's avatar Max Drexler
Browse files

more robust error handling in realtime

parent 65cdee68
No related branches found
No related tags found
No related merge requests found
......@@ -178,7 +178,7 @@ def realtime(file_iter: Iterable[str]) -> Generator[GribPayload, None, None]:
):
LOG.debug("realtime - got msg %s:%d", file, msg_num)
yield msg
except (KeyError, OSError):
except Exception:
LOG.exception(
"realtime - Error processing grib file %s @ msg %d", file, msg_num or 0
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment