Fixed bug that was suppressing the exception.