Skip to content

Commit

Permalink
Fix Utils line length
Browse files Browse the repository at this point in the history
  • Loading branch information
drcrallen committed Dec 16, 2015
1 parent 6e11464 commit e875656
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 e875656

Please sign in to comment.