Fixes issue with 404 response crashing the snippets server.