Skip to content

Commit

Permalink
Merge branch 'release-3.5.0' into release-3.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyShi22 authored Sep 11, 2023
2 parents 6f35e48 + fa3966e commit c916207
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bcos-sdk/SWIG/BCOS.i
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
%module(directors="1") bcos

%include exception.i
%exception {
try {
$action
} catch(std::exception &e) {
auto str = boost::diagnostic_information(e);
SWIG_exception(SWIG_RuntimeError, str.c_str());
}
}

%include "Utilities.i"
%include "Crypto.i"
%include "Transaction.i"
Expand Down

0 comments on commit c916207

Please sign in to comment.