improved client_test's error reporting for web seeds
This commit is contained in:
parent
b17710df09
commit
0253004ab6
|
@ -813,6 +813,10 @@ int main(int ac, char* av[])
|
||||||
events.push_back(now + ": " + p->msg() + " ("
|
events.push_back(now + ": " + p->msg() + " ("
|
||||||
+ boost::lexical_cast<std::string>(p->num_peers) + ")");
|
+ boost::lexical_cast<std::string>(p->num_peers) + ")");
|
||||||
}
|
}
|
||||||
|
else if (url_seed_alert* p = dynamic_cast<url_seed_alert*>(a.get()))
|
||||||
|
{
|
||||||
|
events.push_back(now + ": web seed '" + p->url + "': "+ p->msg());
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
events.push_back(now + ": " + a->msg());
|
events.push_back(now + ": " + a->msg());
|
||||||
|
|
Loading…
Reference in New Issue