Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revised error handling for duplicate datetimes.
Previous implementation of #510 meant that any database related exception would result in 500. As suggested in #538, duplicate data being sent to the server does not necessarily constitute an error from the external perspective. This commit introduce code that pass on exceptions for primary key violations (duplicate resultid and datetime) and will still return a 201.
- Loading branch information