Skip to content

Commit

Permalink
Revert "Fix clear_error in JsExampleErrorRaiser"
Browse files Browse the repository at this point in the history
This reverts commit 59aa2e2.
  • Loading branch information
hikinggrass committed Jun 7, 2024
1 parent 59aa2e2 commit 4fc4bc5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ boot_module(async ({
mod.provides.example_raiser.raise_error(error);
check_conditions(mod);
await sleep(1000);
mod.provides.example_raiser.clear_error(error.type, true);
mod.provides.example_raiser.clear_error(error.type, error.sub_type);
check_conditions(mod);
await sleep(1000);
error = mod.provides.example_raiser.error_factory.create_error(
Expand All @@ -149,7 +149,7 @@ boot_module(async ({
mod.provides.example_raiser.raise_error(error);
check_conditions(mod);
await sleep(1000);
mod.provides.example_raiser.clear_error(error.type, true);
mod.provides.example_raiser.clear_error(error.type, error.sub_type);
check_conditions(mod);
await sleep(1000);
error = mod.provides.example_raiser.error_factory.create_error(
Expand Down

0 comments on commit 4fc4bc5

Please sign in to comment.