aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toplevel/cerrors.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/toplevel/cerrors.ml b/toplevel/cerrors.ml
index 831e27bed7..ae09b202d0 100644
--- a/toplevel/cerrors.ml
+++ b/toplevel/cerrors.ml
@@ -37,7 +37,7 @@ let rec explain_exn_default_aux anomaly_string report_fn = function
hov 0 (str "Syntax error: " ++ str txt ++ str ".")
| Lexer.Error.E err -> hov 0 (str (Lexer.Error.to_string err))
| Sys_error msg ->
- hov 0 (anomaly_string () ++ str "uncaught exception Sys_error " ++ str (guill msg) ++ report_fn ())
+ hov 0 (str "System error: " ++ str (guill msg))
| Out_of_memory ->
hov 0 (str "Out of memory.")
| Stack_overflow ->