Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董子豪
sgxwallet
Commits
12c7c299
Unverified
Commit
12c7c299
authored
Dec 05, 2020
by
kladko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ehnahncement/SKALE-3364-check-server-limits-before-running-sgxwallet
parent
74f81b9c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ServerInit.cpp
ServerInit.cpp
+2
-2
common.h
common.h
+1
-1
No files found.
ServerInit.cpp
View file @
12c7c299
...
@@ -160,7 +160,7 @@ uint64_t initEnclave() {
...
@@ -160,7 +160,7 @@ uint64_t initEnclave() {
}
else
{
}
else
{
spdlog
::
error
(
"sgx_create_enclave_search failed {} {}"
,
ENCLAVE_NAME
,
status
);
spdlog
::
error
(
"sgx_create_enclave_search failed {} {}"
,
ENCLAVE_NAME
,
status
);
}
}
exit
(
-
17
);
exit
(
-
21
);
}
}
spdlog
::
info
(
"Enclave created and started successfully"
);
spdlog
::
info
(
"Enclave created and started successfully"
);
...
@@ -233,6 +233,6 @@ void initAll(uint32_t _logLevel, bool _checkCert, bool _autoSign) {
...
@@ -233,6 +233,6 @@ void initAll(uint32_t _logLevel, bool _checkCert, bool _autoSign) {
exception_ptr
p
=
current_exception
();
exception_ptr
p
=
current_exception
();
printf
(
"Exception %s
\n
"
,
p
.
__cxa_exception_type
()
->
name
());
printf
(
"Exception %s
\n
"
,
p
.
__cxa_exception_type
()
->
name
());
spdlog
::
error
(
"Unknown exception"
);
spdlog
::
error
(
"Unknown exception"
);
exit
(
-
2
0
);
exit
(
0
);
}
}
};
};
common.h
View file @
12c7c299
...
@@ -64,7 +64,7 @@ inline void print_stack() {
...
@@ -64,7 +64,7 @@ inline void print_stack() {
// print out all the frames to stderr
// print out all the frames to stderr
fprintf
(
stderr
,
"Error: signal
\n
"
);
fprintf
(
stderr
,
"Error: signal
\n
"
);
backtrace_symbols_fd
(
array
,
size
,
STDERR_FILENO
);
backtrace_symbols_fd
(
array
,
size
,
STDERR_FILENO
);
exit
(
1
);
exit
(
-
1
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment