Revert "do not throw exception"

This reverts commit 348336a68183ebaa9b69e2b854215fa5ecd20566.

Change-Id: I6e8ebc9912a36efcdb23e6b580e4234b4580f4a4
diff --git a/src/com/mirantis/mk/Salt.groovy b/src/com/mirantis/mk/Salt.groovy
index 3e54e67..f406bc9 100644
--- a/src/com/mirantis/mk/Salt.groovy
+++ b/src/com/mirantis/mk/Salt.groovy
@@ -192,8 +192,6 @@
  * @param result    Parsed response of Salt API
  */
 def checkResult(result) {
-    def common = new com.mirantis.mk.Common()
-
     for (entry in result['return']) {
         if (!entry) {
             throw new Exception("Salt API returned empty response: ${result}")
@@ -201,7 +199,7 @@
         for (node in entry) {
             for (resource in node.value) {
                 if (resource instanceof String || (resource instanceof Boolean && resource == false) || resource.value.result.toString().toBoolean() != true) {
-                    common.warningMsg("Salt state on node ${node.key} failed: ${node.value}")
+                    throw new Exception("Salt state on node ${node.key} failed: ${node.value}")
                 }
             }
         }