mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
UTest: Fix utest warnings.
This commit is contained in:
parent
cfbbe3044f
commit
9c81a0e1bd
8 changed files with 603 additions and 560 deletions
|
@ -91,6 +91,11 @@ std::string SrsCplxError::summary() {
|
|||
if (_summary.empty()) {
|
||||
stringstream ss;
|
||||
|
||||
ss << "code=" << code;
|
||||
|
||||
string code_str = srs_error_code_str(this);
|
||||
if (!code_str.empty()) ss << "(" << code_str << ")";
|
||||
|
||||
SrsCplxError* next = this;
|
||||
while (next) {
|
||||
ss << " : " << next->msg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue