Skip to content

Commit

Permalink
throw if nonexistent Sink class is specified
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-williams committed Feb 13, 2015
1 parent 31d2c30 commit 94e810b
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,10 @@ private[spark] class MetricsSystem private (
sinks += sink.asInstanceOf[Sink]
}
} catch {
case e: Exception => logError("Sink class " + classPath + " cannot be instantialized", e)
case e: Exception => {
logError("Sink class " + classPath + " cannot be instantialized")
throw e
}
}
}
}
Expand Down

0 comments on commit 94e810b

Please sign in to comment.