Skip to content

Commit

Permalink
relaxes read failure handler
Browse files Browse the repository at this point in the history
  • Loading branch information
huettenhain committed Nov 12, 2023
1 parent fdbc75f commit 0dff7e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion refinery/lib/argformats.py
Original file line number Diff line number Diff line change
Expand Up @@ -721,7 +721,7 @@ def read(data: Optional[Chunk] = None):
return read()
except FileNotFoundError:
raise ArgumentTypeError(F'File not found: {pattern}')
except ParserVariableMissing:
except Exception:
return read

@handler.register('range', final=True)
Expand Down

0 comments on commit 0dff7e3

Please sign in to comment.