]> matita.cs.unibo.it Git - helm.git/commitdiff
no longer handle Shell exceptions (no more used by helm-getter)
authorStefano Zacchiroli <zack@upsilon.cc>
Wed, 6 Jul 2005 16:00:45 +0000 (16:00 +0000)
committerStefano Zacchiroli <zack@upsilon.cc>
Wed, 6 Jul 2005 16:00:45 +0000 (16:00 +0000)
helm/http_getter/main.ml

index 33ca1ffabfd8bccafe0c3be43b66c55421bd705a..e4cae512c8df2a810e357f68db6842b5e6f86601 100644 (file)
@@ -315,17 +315,6 @@ let callback (req: Http_types.request) outchan =
   | Internal_error msg ->
       log_failure msg;
       return_html_internal_error ("internal_error", msg) msg outchan
-  | Shell.Subprocess_error l ->
-      let msgs =
-        List.map
-          (fun (cmd, code) ->
-            sprintf "Command '%s' returned %s" cmd (string_of_proc_status code))
-          l
-      in
-      let msg = String.concat ", " msgs in
-      log_failure msg;
-      return_html_internal_error ("subprocess_error", msg)
-        (String.concat "<br />\n" msgs) outchan
   | exn ->
       let msg = "uncaught exception: " ^ (Printexc.to_string exn) in
       (match exn with