Skip to content
Snippets Groups Projects
Commit 9a42d04e authored by Patrick Wendell's avatar Patrick Wendell
Browse files

Throw exception for missing resource

parent 1025d7d1
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ private[spark] object JettyUtils extends Logging {
case Some(res) =>
staticHandler.setResourceBase(res.toString)
case None =>
logError("Could not find resource path for Web UI: " + resourceBase)
throw new Exception("Could not find resource path for Web UI: " + resourceBase)
}
staticHandler
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment