Skip to content

Commit

Permalink
Merge pull request #15 from metamx/fixUtils
Browse files Browse the repository at this point in the history
Fix Utils line length
  • Loading branch information
drcrallen committed Dec 16, 2015
2 parents 6e11464 + e875656 commit 06abc20
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/main/scala/org/apache/spark/util/Utils.scala
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,9 @@ private[spark] object Utils extends Logging {
filename = Some(filename))
}
} catch {
case e: Throwable => throw new IllegalStateException("Unable to fetch file %s into <%s> / <%s>".format(url, targetDir, filename))
case NonFatal(e) => throw new IllegalStateException(
s"Unable to fetch file $url into $targetDir as $filename",
e)
}
}

Expand Down

0 comments on commit 06abc20

Please sign in to comment.