Make handled exceptions warnings rather than errors.