e2corporation opened a new issue, #2940: URL: https://github.com/apache/incubator-devlake/issues/2940
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar issues. ### What happened As part of the assumptions for a required DevLake Database Migration, the Backend should return with a HTTP Status Code `428`, instead it using Internal Server `500`. ### What you expected to happen API should always return with Status Code `428` If DB Migration is Required ### How to reproduce N/A - UI will not show migration alert if api responds with internal server error 500 ### Anything else _No response_ ### Version main ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
