Add some debug.
GitOrigin-RevId: 5d2387379188dce1fd52cc9561a349f87e4fc240
This commit is contained in:
parent
c9c2760173
commit
2465356c2e
@ -212,7 +212,7 @@ void Proxy::parse(T &parser) {
|
||||
parse(port_, parser);
|
||||
parse(secret_, parser);
|
||||
} else {
|
||||
CHECK(type_ == Proxy::Type::None);
|
||||
CHECK(type_ == Proxy::Type::None) << static_cast<int32>(type_);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -21,7 +21,8 @@ void TlParser::set_error(const string &error_message) {
|
||||
} else {
|
||||
data = empty_data;
|
||||
CHECK(error_pos != std::numeric_limits<size_t>::max());
|
||||
CHECK(data_len == 0);
|
||||
CHECK(data_len == 0) << data_len << " " << left_len << " " << data << " " << &empty_data[0] << " " << error_pos
|
||||
<< " " << error;
|
||||
CHECK(left_len == 0);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user