diff options
-rw-r--r-- | src/main/java/org/onap/aai/dbgen/UpdatePropertyToolInternal.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/onap/aai/dbgen/UpdatePropertyToolInternal.java b/src/main/java/org/onap/aai/dbgen/UpdatePropertyToolInternal.java index 91f62f9..a994c7b 100644 --- a/src/main/java/org/onap/aai/dbgen/UpdatePropertyToolInternal.java +++ b/src/main/java/org/onap/aai/dbgen/UpdatePropertyToolInternal.java @@ -212,12 +212,12 @@ public class UpdatePropertyToolInternal { logAndPrint("Unsuccessful update transaction. Rolling back graph"); } } catch (Exception e) { + logErrorAndPrint("ERROR: Could not properly query and update vertex.", e); if (transaction != null) { transaction.rollback(); } else { logAndPrint("ERROR: JanusGraphTransaction object is null"); } - logErrorAndPrint("ERROR: Could not properly query and update vertex.", e); isValidTransaction = false; } finally { // close the transaction -- note: JanusGraph graph object will be closed in the main method. |