Issue-ID: AAI-3328
Signed-off-by: Niharika Sharma <niharika.sharma@amdocs.com>
Change-Id: I3e38c92b6b4343ec8153219a989e241e8e9e4127
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.