Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0a628d2

Browse files
committed
Fixed error when outputs were not getting closed on exception.
1 parent 539afeb commit 0a628d2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

source/api/ut_runner.pkb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ create or replace package body ut_runner is
1717
l_items_to_run.do_execute(l_listener);
1818

1919
ut_output_buffer.close(l_listener.reporters);
20+
exception
21+
when others then
22+
ut_output_buffer.close(l_listener.reporters);
23+
raise;
2024
end;
2125

2226
procedure run(a_paths ut_varchar2_list, a_reporter ut_reporter_base := ut_documentation_reporter(), a_color_console boolean := false) is

0 commit comments

Comments
 (0)