Change rethrow statements (#25)

This commit is contained in:
Gerardwx 2019-01-26 02:38:44 -05:00 committed by Arun Muralidharan
parent e6cb89cb6e
commit 3e29149ad1

View File

@ -1208,7 +1208,7 @@ inline void Popen::execute_process() noexcept(false)
}
} catch (std::exception& exp) {
stream_.cleanup_fds();
throw exp;
throw;
}
}
@ -1364,7 +1364,7 @@ namespace detail {
std::string err_msg(exp.what());
//ATTN: Can we do something on error here ?
util::write_n(err_wr_pipe_, err_msg.c_str(), err_msg.length());
throw exp;
throw;
}
// Calling application would not get this