ci: print the failed stacktrace

This commit is contained in:
JianBo He 2024-03-28 11:17:26 +08:00
parent d7917d05c6
commit 3536b32ad2
1 changed files with 2 additions and 2 deletions

View File

@ -541,8 +541,8 @@ client(Name, Config, N) ->
ok = hstreamdb_client:echo(Client), ok = hstreamdb_client:echo(Client),
Client Client
catch catch
Class:Error -> Class:Error:Stk ->
ct:print("Error connecting: ~p", [{Class, Error}]), ct:print("Error connecting: ~p, stacktrace: ~p", [{Class, Error}, Stk]),
ct:sleep(timer:seconds(1)), ct:sleep(timer:seconds(1)),
client(Name, Config, N - 1) client(Name, Config, N - 1)
end. end.