-
Notifications
You must be signed in to change notification settings - Fork 48
Improve error message when no valid task is found #498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
fjtirado
added a commit
to fjtirado/sdk-java
that referenced
this issue
Dec 19, 2024
fjtirado
added a commit
to fjtirado/sdk-java
that referenced
this issue
Dec 19, 2024
…rsing Fix serverlessworkflow#498 Signed-off-by: Francisco Javier Tirado Sarti <[email protected]>
fjtirado
added a commit
to fjtirado/sdk-java
that referenced
this issue
Dec 19, 2024
…rsing Fix serverlessworkflow#498 Signed-off-by: Francisco Javier Tirado Sarti <[email protected]>
fjtirado
added a commit
to fjtirado/sdk-java
that referenced
this issue
Dec 19, 2024
…rsing Fix serverlessworkflow#498 Signed-off-by: Francisco Javier Tirado Sarti <[email protected]>
fjtirado
added a commit
to fjtirado/sdk-java
that referenced
this issue
Dec 19, 2024
…rsing Fix serverlessworkflow#498 Signed-off-by: Francisco Javier Tirado Sarti <[email protected]>
fjtirado
added a commit
to fjtirado/sdk-java
that referenced
this issue
Dec 19, 2024
…rsing Fix serverlessworkflow#498 Signed-off-by: Francisco Javier Tirado Sarti <[email protected]>
fjtirado
added a commit
that referenced
this issue
Dec 20, 2024
[Fix #498] Adding possibility to validate before parsing
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently for workflows that are not compliant with the spec, a long stack trace is printed as natural result of a failed parsing.
This long stack trace contains details of the failure, but they are expressed as java exception, which are sometimes difficulty to interpret.
It would be better (sacrificing some perfomance to increase usabillity) to validate the file againts the DSL schema before proceeding with the parsing. The validation will give the user, in one shot, all the format errors.
The text was updated successfully, but these errors were encountered: