commit | b96c6b7a9127021c5e3624048bc0d21b0e1e24e3 | [log] [tgz] |
---|---|---|
author | Sarath Subramanian <ssubramanian@hortonworks.com> | Thu Nov 15 23:07:33 2018 -0800 |
committer | Sarath Subramanian <ssubramanian@hortonworks.com> | Thu Nov 15 23:35:27 2018 -0800 |
tree | 045fb0516f4f58b95ee7d29974389afbfe6199b4 | |
parent | 40329046a1d67059409c02396d696153bb2de653 [diff] |
ATLAS-2969: Attempt to import empty zip file should not throw excpetion (cherry picked from commit 4ca33fcbf4e8845c86340622fb28d88e4457dccd)
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 3998932..83dac65 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
@@ -410,10 +410,8 @@ LOG.info(excp.getMessage()); } else { LOG.error("importData(binary) failed", excp); + throw excp; } - - throw excp; - } catch (Exception excp) { LOG.error("importData(binary) failed", excp);