-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[Refactor] Informative error messages on Scenario build failure #2322
Comments
Hello @JosuaCarl Thank you for your issue. It's a great idea. Would you like to be assigned? A few minor remarks:
|
Yes, I would like to be assigned. Although I am not sure how much I will be able to do until the new year. |
Thanks a lot! Don't worry, we are not in a rush for this issue. |
Small question before I start: |
That's a good question. I would keep the current behavior for both |
This issue has been labelled as "🥶Waiting for contributor" because it has been inactive for more than 14 days. If you would like to continue working on this issue, please add another comment or create a PR that links to this issue. If a PR has already been created which refers to this issue, then you should explicitly mention this issue in the relevant PR. Otherwise, you will be unassigned in 14 days. For more information please refer to the contributing guidelines. |
Description
The error message
raise InvalidScenario(scenario.id)
when scenario building fails is not very informative, because it leads to something like:with Traceback pointing only at the Scenario Factory.
I suggest adding a warning to
taipy/taipy/core/scenario/scenario.py
Lines 608 to 621 in 9cc59f2
like:
and
Acceptance Criteria
Code of Conduct
The text was updated successfully, but these errors were encountered: