Print failing object path after failed bus lookup

Change-Id: I599d8297b4d2fd45831443685ea5b7d53f1515b6
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/chassishandler.cpp b/chassishandler.cpp
index 0b503c7..a20d062 100644
--- a/chassishandler.cpp
+++ b/chassishandler.cpp
@@ -79,7 +79,8 @@
 
     r = mapper_get_service(bus, settings_object_name, &connection);
     if (r < 0) {
-        fprintf(stderr, "Failed to get connection, return value: %s.\n", strerror(-r));
+        fprintf(stderr, "Failed to get %s connection: %s\n",
+                settings_object_name, strerror(-r));
         goto finish;
     }
 
@@ -144,7 +145,8 @@
 
     r = mapper_get_service(bus, settings_object_name, &connection);
     if (r < 0) {
-        fprintf(stderr, "Failed to get connection, return value: %s.\n", strerror(-r));
+        fprintf(stderr, "Failed to get %s connection: %s\n",
+                settings_object_name, strerror(-r));
         goto finish;
     }
 
@@ -572,7 +574,8 @@
 	sd_bus *bus_type = ipmid_get_sd_bus_connection();
 	rc = mapper_get_service(bus_type, chassis_object_name, &busname);
 	if (rc < 0) {
-		fprintf(stderr, "Failed to get bus name, return value: %s.\n", strerror(-rc));
+		fprintf(stderr, "Failed to get %s bus name: %s\n",
+				chassis_object_name, strerror(-rc));
 	goto finish;
 	}
 	rc = sd_bus_call_method(bus_type,        		 // On the System Bus