aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/test/mnesia_config_backup.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mnesia/test/mnesia_config_backup.erl')
-rw-r--r--lib/mnesia/test/mnesia_config_backup.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mnesia/test/mnesia_config_backup.erl b/lib/mnesia/test/mnesia_config_backup.erl
index 0916e255e2..a7d8c04a45 100644
--- a/lib/mnesia/test/mnesia_config_backup.erl
+++ b/lib/mnesia/test/mnesia_config_backup.erl
@@ -90,7 +90,8 @@ open_read(Name) ->
List = lists:reverse(ReverseList),
{ok, #backup{name = Name, mode = read, items = List}};
{error, Reason} ->
- {error, {open_read, Reason}}
+ %% {error, {open_read, Reason}}
+ {Reason, error} %% Testing error handling in mnesia
end.
read(Opaque) when Opaque#backup.mode == read ->