Attn: Refactor dbus calls for pel handling
Removed hard-coded system names and instead find system name by dbus
object path and interface. Add try/catch handling around dbus calls that
could throw exceptions.
Signed-off-by: Ben Tyner <ben.tyner@ibm.com>
Change-Id: I9cfe5fce858ba690fc9a7f0e61a4d249d5a1ef84
diff --git a/attn/meson.build b/attn/meson.build
index d42289d..f6fdd56 100644
--- a/attn/meson.build
+++ b/attn/meson.build
@@ -25,9 +25,10 @@
# Source files.
attn_src = files(
+ 'attention.cpp',
'attn_common.cpp',
'attn_config.cpp',
- 'attention.cpp',
+ 'attn_dbus.cpp',
'attn_handler.cpp',
'attn_main.cpp',
'attn_monitor.cpp',