Remove invalid code in try/catch
Merge pull request #1704 from GawainLynch/hotfix/extensions-deadcode

Remove invalid code in try/catch