Skip to content

Conversation

@namsonx
Copy link
Collaborator

@namsonx namsonx commented Aug 2, 2023

No description provided.

try:
listDummy = shlex.split(line)
except Exception as error:
raise Exception(f"\n[shlex exception]\n {str(error)} \nin line: '{line}'")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Son,

the error message part "[shlex exception]" was only intended to be an example in my Python example code. No need to take over this in the code of the JsonPreprocessor. No need to tell the users the name of the parser who causes the error message. Please remove "[shlex exception]" ;-)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello Holger,

Thank you, I will update!

Thank you,
Son

Copy link
Collaborator

@HolQue HolQue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only tiny modification wanted ;-)

@HolQue
Copy link
Collaborator

HolQue commented Aug 2, 2023

But nevertheless. The error detection works!

@namsonx
Copy link
Collaborator Author

namsonx commented Aug 2, 2023

Updated

@namsonx namsonx closed this Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants