Update transport.cc (#783)
Update transport.cc (#783)

* Update transport.cc

fix throw but no catch bug

* Update transport.cc

disconnect peers for all other errors

* adjust indent level

Co-authored-by: zhanb <cd2ccf34487433f1279fe68639c6c65bb32f2736@caict.ac.cn>
oktal/rest,oktal/rest,oktal/pistache,oktal/pistache,oktal/pistache,oktal/pistache,oktal/rest,oktal/pistache,oktal/rest