bugfix: handling of 404s thrown an uncatched exception