hedgedoc/test
David Mehren 141dc349e3
NotesController: Do not crash on nonexistent notes
This commit adds proper error handling and returns 404 when a note does not exist.
Previously, we leaked the `NotInDBError` and sent a 500 status code.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-01-09 22:58:16 +01:00
..
public-api NotesController: Do not crash on nonexistent notes 2021-01-09 22:58:16 +01:00