Fix error log resolve

logging/entry/<entryId>/attr/Resolved is a boolean as such
send true when resolving.

Before the function was always returning successful, fixed this
and log to the console when it fails.

Tested: Resolved multiple error logs and see the fail in the
        console on a fail.
Change-Id: I60496f30f9241ffb6b6b73cf87b7481bea10b24f
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/app/server-health/controllers/log-controller.js b/app/server-health/controllers/log-controller.js
index a604126..ae873fb 100644
--- a/app/server-health/controllers/log-controller.js
+++ b/app/server-health/controllers/log-controller.js
@@ -173,11 +173,16 @@
 
             if (!events.length) return;
 
-            APIUtils.resolveLogs(events).then(function() {
-              events.forEach(function(item) {
-                item.Resolved = 1;
-              });
-            });
+            APIUtils.resolveLogs(events).then(
+                function(data) {
+                  events.forEach(function(item) {
+                    item.Resolved = 1;
+                  });
+                },
+                function(error) {
+                  // TODO: Show error to user
+                  console.log(JSON.stringify(error));
+                });
           };
 
           $scope.$watch('logs', function() {