Ugly error handling is better than none