Tidy error handling in bloom code.