Skip to content

Commit

Permalink
Merge pull request #370 from skalenetwork/bug/fix-incorrect-logs-on-e…
Browse files Browse the repository at this point in the history
…rror

Bug/fix incorrect logs on error
  • Loading branch information
kladkogex authored Jan 12, 2022
2 parents c199b2d + f0f32cb commit 1573a80
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions DockerfileRelease
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ COPY . /usr/src/sdk
WORKDIR /usr/src/sdk
RUN cp -f secure_enclave/secure_enclave.config.xml.release secure_enclave/secure_enclave.config.xml
RUN apt update && apt install -y curl secure-delete
#Test signing key generation
RUN cd scripts && ./generate_signing_key.bash
RUN touch /var/hwmode
RUN ./autoconf.bash
RUN ./configure --with-sgx-build=release
Expand Down
2 changes: 1 addition & 1 deletion common.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ string __ERR_STRING__ = string("SGX enclave call to ") + \
__FUNCTION__ + " failed with status:" \
+ to_string(__STATUS__) + \
" Err message:" + __ERR_MSG__; \
BOOST_THROW_EXCEPTION(SGXException(-102, string(__ERR_MSG__))); \
BOOST_THROW_EXCEPTION(SGXException(-102, string(__ERR_STRING__))); \
}\
\
if (__ERR_STATUS__ != 0) {\
Expand Down

0 comments on commit 1573a80

Please sign in to comment.