Let getting Room info throw EntityNotFoundException
Problem was that an exception was thrown that wasn't caught by Spring when we do .orElseThrow
with no arguments. We now throw an EntityNotFoundException
, which gets translated into a 404 error.
Closes #290 (closed)
Edited by Chris Lemaire