Repository: atlas Updated Branches: refs/heads/branch-0.8 a36b27ae7 -> 4ca33fcbf
ATLAS-2969: Attempt to import empty zip file should not throw excpetion Project: http://git-wip-us.apache.org/repos/asf/atlas/repo Commit: http://git-wip-us.apache.org/repos/asf/atlas/commit/4ca33fcb Tree: http://git-wip-us.apache.org/repos/asf/atlas/tree/4ca33fcb Diff: http://git-wip-us.apache.org/repos/asf/atlas/diff/4ca33fcb Branch: refs/heads/branch-0.8 Commit: 4ca33fcbf4e8845c86340622fb28d88e4457dccd Parents: a36b27a Author: Sarath Subramanian <ssubraman...@hortonworks.com> Authored: Thu Nov 15 23:07:33 2018 -0800 Committer: Sarath Subramanian <ssubraman...@hortonworks.com> Committed: Thu Nov 15 23:07:33 2018 -0800 ---------------------------------------------------------------------- .../main/java/org/apache/atlas/web/resources/AdminResource.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/atlas/blob/4ca33fcb/webapp/src/main/java/org/apache/atlas/web/resources/AdminResource.java ---------------------------------------------------------------------- diff --git a/webapp/src/main/java/org/apache/atlas/web/resources/AdminResource.java b/webapp/src/main/java/org/apache/atlas/web/resources/AdminResource.java index 9069f44..c0a139e 100755 --- a/webapp/src/main/java/org/apache/atlas/web/resources/AdminResource.java +++ b/webapp/src/main/java/org/apache/atlas/web/resources/AdminResource.java @@ -400,10 +400,8 @@ public class AdminResource { LOG.info(excp.getMessage()); } else { LOG.error("importData(binary) failed", excp); + throw excp; } - - throw excp; - } catch (Exception excp) { LOG.error("importData(binary) failed", excp);