Skip to content

Commit

Permalink
fix variable expansion
Browse files Browse the repository at this point in the history
  • Loading branch information
mmomtchev committed Sep 16, 2023
1 parent 15ea779 commit 6f51103
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Lib/javascript/napi/javascriptcode.swg
Expand Up @@ -896,9 +896,7 @@ fail:
* -----------------------------------------------------------------------------
*/
%fragment("js_rethrow_exception", "templates")
%{
std::rethrow_exception(saved);
%}
%{if (saved) std::rethrow_exception(saved);%}


/* -----------------------------------------------------------------------------
Expand Down

0 comments on commit 6f51103

Please sign in to comment.