Commit `rGf5fd7486` caused a buildbot failure because exceptions are disabled by default on one of the buildbots. This patch forcibly enables exceptions for the affected test.