Kill some old debug code.

This commit is contained in:
Adam Ierymenko 2016-11-30 10:48:09 -08:00
parent 32478845b2
commit fa2bb91ae5
2 changed files with 1 additions and 5 deletions

View File

@ -128,10 +128,7 @@ SharedPtr<Peer> Topology::getPeer(const Address &zta)
return ap;
}
}
} catch ( ... ) {
fprintf(stderr,"EXCEPTION in getPeer() part 2\n");
abort();
} // invalid identity on disk?
} catch ( ... ) {} // invalid identity on disk?
return SharedPtr<Peer>();
}

View File

@ -248,7 +248,6 @@ unsigned int Utils::snprintf(char *buf,unsigned int len,const char *fmt,...)
if ((n >= (int)len)||(n < 0)) {
if (len)
buf[len - 1] = (char)0;
abort();
throw std::length_error("buf[] overflow in Utils::snprintf");
}