Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Grib Processor
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container Registry
Operate
Terraform modules
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Max Drexler
Grib Processor
Commits
d6ff28dd
Commit
d6ff28dd
authored
8 months ago
by
Max Drexler
Browse files
Options
Downloads
Patches
Plain Diff
more robust error handling in realtime
parent
65cdee68
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
grib_processor/utils.py
+1
-1
1 addition, 1 deletion
grib_processor/utils.py
with
1 addition
and
1 deletion
grib_processor/utils.py
+
1
−
1
View file @
d6ff28dd
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment