Skip to content

Commit

Permalink
fix: throw the error instead of creating a new one
Browse files Browse the repository at this point in the history
  • Loading branch information
sumandas0 committed Feb 12, 2024
1 parent 3f39583 commit 139f383
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ protected void deleteEdge(AtlasEdge edge, boolean force) throws AtlasBaseExcepti
AtlasRelationshipStoreV2.recordRelationshipMutation(AtlasRelationshipStoreV2.RelationshipMutation.RELATIONSHIP_SOFT_DELETE, edge, entityRetriever);
} catch (Exception e) {
LOG.error("Error while deleting edge {}", GraphHelper.string(edge), e);
throw new AtlasBaseException(e);
throw e;
}
}
}

0 comments on commit 139f383

Please sign in to comment.