mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-04 03:12:19 +08:00
rm set error
This commit is contained in:
parent
b0bcbb6ece
commit
4f790aa0a1
@ -76,11 +76,11 @@ openim::log::errexit() {
|
||||
openim::log::install_errexit() {
|
||||
# trap ERR to provide an error handler whenever a command exits nonzero this
|
||||
# is a more verbose version of
|
||||
trap 'openim::log::errexit' ERR
|
||||
# trap 'openim::log::errexit' ERR
|
||||
|
||||
# setting errtrace allows our ERR trap handler to be propagated to functions,
|
||||
# expansions and subshells
|
||||
set -o errtrace
|
||||
#set -o errtrace
|
||||
}
|
||||
|
||||
# Print out the stack trace
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user