Skip to content

Commit

Permalink
Don't throw different exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-dzhang committed Dec 19, 2024
1 parent 68a7750 commit 4de6855
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -560,9 +560,6 @@ private String resolveNamespaceLocation(Namespace namespace, Map<String, String>
LOGGER.warn(
"Tried to resolve location with catalog with null defalut base location. Catalog = {}",
catEntity);
throw new RuntimeException(
"Tried to resolve location with catalog with null defalut base location. Catalog = "
+ catEntity);
}
return catalogDefaultBaseLocation;
} else {
Expand All @@ -576,9 +573,6 @@ private String resolveNamespaceLocation(Namespace namespace, Map<String, String>
LOGGER.warn(
"Tried to resolve location with entity without base location or name. entity = {}",
entity);
throw new RuntimeException(
"Tried to resolve location with entity without base location or name. entity = "
+ entity);
}
return entityName;
}
Expand Down

0 comments on commit 4de6855

Please sign in to comment.