-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Labels
Milestone
Description
In most of the cases, error messages contain a reason for the format being invalid, e.g.:
errorMsg = f"Invalid parameter format: {sInput} - The double quotes are missing!!!"
But the code contains also this:
if sInput.count("{") != sInput.count("}") or sInput.count("[") != sInput.count("]"):
errorMsg = f"Invalid parameter format: {sInput.strip()}"
I would say, also here the reason (bracket mismatch) should be printed out, because the reason is known.
Is there a certain reason to count if sInput.count("{") instead of if sInput.count("${") like at other positions?
Metadata
Metadata
Assignees
Labels
Projects
Status
Done