diff --git a/.vscode/settings.json b/.vscode/settings.json index cdfec9b..1d15cde 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,5 +5,5 @@ "python3.8InterpreterPath": "/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8", "modulename": "${workspaceFolderBasename}", "distname": "${workspaceFolderBasename}", - "moduleversion": "1.0.1" + "moduleversion": "1.0.2" } \ No newline at end of file diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index d20ee75..15c27c2 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,6 +1,12 @@ # pyspartn Release Notes -### RELEASE 1.0.0 +### RELEASE 1.0.2 + +ENHANCEMENTS: + +1. Include SPARTNStreamError in ERRIGNORE handling. + +### RELEASE 1.0.1 ENHANCEMENTS: diff --git a/pyproject.toml b/pyproject.toml index 6b68374..546e6c1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "pyspartn" authors = [{ name = "semuadmin", email = "semuadmin@semuconsulting.com" }] maintainers = [{ name = "semuadmin", email = "semuadmin@semuconsulting.com" }] description = "SPARTN protocol parser" -version = "1.0.1" +version = "1.0.2" license = { file = "LICENSE" } readme = "README.md" requires-python = ">=3.8" diff --git a/src/pyspartn/_version.py b/src/pyspartn/_version.py index de4a23c..cb3a96e 100644 --- a/src/pyspartn/_version.py +++ b/src/pyspartn/_version.py @@ -8,4 +8,4 @@ :license: BSD 3-Clause """ -__version__ = "1.0.1" +__version__ = "1.0.2" diff --git a/src/pyspartn/spartnreader.py b/src/pyspartn/spartnreader.py index b99678c..1d7f8e4 100644 --- a/src/pyspartn/spartnreader.py +++ b/src/pyspartn/spartnreader.py @@ -163,7 +163,12 @@ def read(self) -> tuple: except EOFError: return (None, None) - except (SPARTNParseError, SPARTNMessageError, SPARTNTypeError) as err: + except ( + SPARTNParseError, + SPARTNMessageError, + SPARTNTypeError, + SPARTNStreamError, + ) as err: if self._quitonerror: self._do_error(err) continue