Skip to content

Commit

Permalink
[hotfix] properly encapsulate the original exception in JobClient
Browse files Browse the repository at this point in the history
This closes apache#2890
  • Loading branch information
Nico Kruber authored and rmetzger committed Dec 9, 2016
1 parent 0c42d25 commit 9ab494a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ public static ClassLoader retrieveClassLoader(
allURLs[pos++] = blobClient.getURL(blobKey);
} catch (Exception e) {
blobClient.shutdown();
throw new JobRetrievalException(jobID, "Failed to download BlobKey " + blobKey);
throw new JobRetrievalException(jobID, "Failed to download BlobKey " + blobKey, e);
}
}

Expand Down

0 comments on commit 9ab494a

Please sign in to comment.