Skip to content

Commit 84cd070

Browse files
authored
Merge pull request #19 from mikpe/remove-get_stacktrace-call
Remove get stacktrace call
2 parents 41c796d + 765d155 commit 84cd070

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ mnesia tables.
66

77
## Prerequisites
88
- eleveldb (https://github.com/basho/eleveldb)
9-
- Erlang/OTP 19.0 or newer (https://github.com/erlang/otp)
9+
- Erlang/OTP 21.0 or newer (https://github.com/erlang/otp)
1010

1111
## Getting started
1212

src/mnesia_eleveldb.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,8 +445,8 @@ close_table_(Alias, Tab) ->
445445
pp_stack() ->
446446
Trace = try throw(true)
447447
catch
448-
_:_ ->
449-
case erlang:get_stacktrace() of
448+
_:_:StackTrace ->
449+
case StackTrace of
450450
[_|T] -> T;
451451
[] -> []
452452
end

0 commit comments

Comments
 (0)