more robust error (amending 2c27c3d1fd3b): responsibility is gradually moved from ML to Scala;
authorwenzelm
Tue Apr 18 19:14:01 2017 +0200 (2017-04-18)
changeset 65506359fc6266a00
parent 65505 741fad555d82
child 65507 decdb95bd007
more robust error (amending 2c27c3d1fd3b): responsibility is gradually moved from ML to Scala;
src/Pure/Tools/build.scala
     1.1 --- a/src/Pure/Tools/build.scala	Tue Apr 18 16:34:58 2017 +0200
     1.2 +++ b/src/Pure/Tools/build.scala	Tue Apr 18 19:14:01 2017 +0200
     1.3 @@ -190,8 +190,7 @@
     1.4        }
     1.5  
     1.6      private val graph_file = Isabelle_System.tmp_file("session_graph", "pdf")
     1.7 -    try { isabelle.graphview.Graph_File.write(options, graph_file, deps(name).session_graph) }
     1.8 -    catch { case ERROR(_) => /*error should be exposed in ML*/ }
     1.9 +    isabelle.graphview.Graph_File.write(options, graph_file, deps(name).session_graph)
    1.10  
    1.11      private val future_result: Future[Process_Result] =
    1.12        Future.thread("build") {