You should undo this change and resubmit ... it's not a good way of handling the error. Whatever the error is, it should be handled/fixed instead of ignored.