aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/src/mnesia_lib.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2015-05-06 13:33:33 +0200
committerDan Gudmundsson <[email protected]>2015-05-06 13:33:33 +0200
commit3339aabf37dc65fd3fa66482764fc9c533d65933 (patch)
tree45b06619aa81dc8cbfd135e175c3eb5bc22c6515 /lib/mnesia/src/mnesia_lib.erl
parent83ff5ec3ced8ce1c456bfdf75fcbf5be01385388 (diff)
downloadotp-3339aabf37dc65fd3fa66482764fc9c533d65933.tar.gz
otp-3339aabf37dc65fd3fa66482764fc9c533d65933.tar.bz2
otp-3339aabf37dc65fd3fa66482764fc9c533d65933.zip
mnesia: dirty error messages did not behave as documented
The docs express that exit({aborted, Reason}) are called when an error occur.
Diffstat (limited to 'lib/mnesia/src/mnesia_lib.erl')
-rw-r--r--lib/mnesia/src/mnesia_lib.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mnesia/src/mnesia_lib.erl b/lib/mnesia/src/mnesia_lib.erl
index 7bd207f816..fc7362a31d 100644
--- a/lib/mnesia/src/mnesia_lib.erl
+++ b/lib/mnesia/src/mnesia_lib.erl
@@ -411,7 +411,7 @@ pr_other(Var) ->
verbose("~p (~p) val(mnesia_gvar, ~w) -> ~p ~n",
[self(), process_info(self(), registered_name),
Var, Why]),
- exit(Why).
+ mnesia:abort(Why).
%% Some functions for list valued variables
add(Var, Val) ->