Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Error from setting favorite not caught #83

Open
ascheman opened this issue Mar 3, 2019 · 1 comment
Open

Error from setting favorite not caught #83

ascheman opened this issue Mar 3, 2019 · 1 comment
Assignees
Labels

Comments

@ascheman
Copy link
Member

ascheman commented Mar 3, 2019

We currently see Server errors (500) on latest and testing due to a DB error when setting a new talk preference (favorite). The server returns:

{"status":500,"reason":{"timestamp":"2019-03-03T17:55:12.780+0000","status":500,"error":"Internal Server Error","message":"could not execute statement; SQL [n/a]; constraint [id]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement","path":"/rest/preferences"}}

But this is not caught in the PWA frontend.

I will try to fix the problem on the backend ASAP. Nevertheless we should see a better error handling in the frontend as well.

@steffchep
Copy link
Contributor

@srose @ascheman a toast message should appear on error now, can you check if this works and is sufficient?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants