I'm happy to switch it to a case clause and have it spew the error to the logs.