fix(session): include session term in stacktrace
This commit is contained in:
parent
0d245acdc1
commit
cce474ce98
|
@ -611,8 +611,8 @@ maybe_mock_impl_mod({Mock, _State}) when is_atom(Mock) ->
|
||||||
Mock.
|
Mock.
|
||||||
-else.
|
-else.
|
||||||
-spec maybe_mock_impl_mod(_Session) -> no_return().
|
-spec maybe_mock_impl_mod(_Session) -> no_return().
|
||||||
maybe_mock_impl_mod(_) ->
|
maybe_mock_impl_mod(Session) ->
|
||||||
error(noimpl).
|
error(noimpl, [Session]).
|
||||||
-endif.
|
-endif.
|
||||||
|
|
||||||
-spec choose_impl_mod(conninfo()) -> module().
|
-spec choose_impl_mod(conninfo()) -> module().
|
||||||
|
|
Loading…
Reference in New Issue