commit | c1d4de5e1277356e74dfb9de647ff5e19ef75445 | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:45:57 2021 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 06 12:45:57 2021 -0500 |
tree | 5b54a6ca02d6b6f086b22e0e962105d6affece5f | |
parent | a588eafec450a1efcfd0d14b819f703e0e4e8d8d [diff] [blame] |
catch exceptions as const Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: If6aba71f482f75143e6d669763b8853db22318cf
diff --git a/power-sequencer/pgood_monitor.cpp b/power-sequencer/pgood_monitor.cpp index 3c74fdb..d86acef 100644 --- a/power-sequencer/pgood_monitor.cpp +++ b/power-sequencer/pgood_monitor.cpp
@@ -114,7 +114,7 @@ return timer.get_event().loop(); } - catch (std::exception& e) + catch (const std::exception& e) { log<level::ERR>(e.what()); log<level::ERR>("Unexpected failure prevented PGOOD checking");