Skip to content
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

[Source] Improve error message in report #550

Open
bruhnild opened this issue Feb 7, 2024 · 1 comment
Open

[Source] Improve error message in report #550

bruhnild opened this issue Feb 7, 2024 · 1 comment
Labels
admin enhancement New feature or request

Comments

@bruhnild
Copy link
Contributor

bruhnild commented Feb 7, 2024

Global report : keep only exception message in case of error (no success report) : see https://demo-terravisu-territoires.makina-corpus.com/admin/datasource/156/report

In this case there error occurred because there is no data in the source. There should be an explicite message.

image

@bruhnild
Copy link
Contributor Author

bruhnild commented Feb 9, 2024

  • Change status from Error to Warning
  • Change message "failed to refresh data" to "for these cases :
    • sql is no longer valid (ex : missing column)==> SQL request is no longer valid
    • no data in the source == > There is no data in the source

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant