Reassign error message to empty string because the `BaseException.message` has been deprecated in Python 2.6.