Connection::recv: Rethrow the original exception instead of a copy
Found by cppcheck. Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
committed by
Keith Winstein
parent
5f807dfdf8
commit
5365d6b21d
@@ -397,7 +397,7 @@ string Connection::recv( void )
|
|||||||
assert( !islast );
|
assert( !islast );
|
||||||
continue;
|
continue;
|
||||||
} else {
|
} else {
|
||||||
throw e;
|
throw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user