From dfe820c38cfe9f8d42118b4bf4c692da91add799 Mon Sep 17 00:00:00 2001 From: amcolosk Date: Wed, 25 Mar 2015 14:56:28 -0500 Subject: [PATCH] Update addDefectSuite with better error handling Add additional debugging and correct updateResponse errors to read from updateResponse --- addDefectToSuite.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/addDefectToSuite.java b/addDefectToSuite.java index 60b2d8e..7e41162 100644 --- a/addDefectToSuite.java +++ b/addDefectToSuite.java @@ -75,7 +75,7 @@ public static void main(String[] args) throws URISyntaxException, IOException { } else { String[] updateErrors; - updateErrors = createResponse.getErrors(); + updateErrors = updateResponse.getErrors(); System.out.println("Error"); for (int i=0; i