Fix regression from renaming exception