Home
last modified time | relevance | path

Searched hist:"232 ffe4e03d92e08b8d564b23856155b31492619" (Results 1 – 1 of 1) sorted by relevance

/openbmc/phosphor-pid-control/
H A Dmain.cppdiff 232ffe4e03d92e08b8d564b23856155b31492619 Sun Feb 21 22:11:49 CST 2021 Hao Jiang <jianghao@google.com> Expose exception of restartControlLoops().

Expose the failure of restartControlLoops() for the last loop. The
orignal rethrowing an exception will lose the call stack infomation.
It leads to extreme difficulties when debugging.

Comparing to embedding the traceback infomation into the new (nested)
exception, I would rather expose the exception directly to external
which preserves both call stack and varibale information.

Signed-off-by: Hao Jiang <jianghao@google.com>
Change-Id: I1535fc5768ea58e5af695948eec65fdfa84e8ff9