Revision 9071
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/util.sh | ||
---|---|---|
134 | 134 |
log_info () { symbol=? log_custom "$@"; } |
135 | 135 |
|
136 | 136 |
# usage: cmd || { save_e; log_e; ...; rethrow; } |
137 |
log_e () { echo "! command exited with error $e" >&2; }
|
|
137 |
log_e () { log_err "command exited with error $e"; }
|
|
138 | 138 |
|
139 | 139 |
# usage: cmd || die msg |
140 | 140 |
die () { save_e; echo "$1" >&2; rethrow; } |
Also available in: Unified diff
lib/sh/util.sh: log_e (): use new log_err