Remove warning on unused exception catch.