Fix issue when no exception is available.