Caught exceptions breaking build