Fix whoops handling.