commit | 334c3a71bd17a10cf9a04da5b8e87693dcb049a8 | [log] [tgz] |
---|---|---|
author | Jenkins <jenkins@review.openstack.org> | Fri Aug 09 01:30:50 2013 +0000 |
committer | Gerrit Code Review <review@openstack.org> | Fri Aug 09 01:30:50 2013 +0000 |
tree | 007ff682a6f1d77116d20bd81725fb6c1e7d7e8b | |
parent | b690a8f00e53b71e8d80c4f024501f34d73aa6df [diff] | |
parent | 17df0775edaf1d45c59a41147779fd65fd986911 [diff] |
Merge "misleading source filename in error message"
diff --git a/functions b/functions index 4203aa5..e9c6061 100644 --- a/functions +++ b/functions
@@ -127,7 +127,7 @@ local exitcode=$? errXTRACE=$(set +o | grep xtrace) set +o xtrace - local msg="[ERROR] $0:$1 $2" + local msg="[ERROR] ${BASH_SOURCE[2]}:$1 $2" echo $msg 1>&2; if [[ -n ${SCREEN_LOGDIR} ]]; then echo $msg >> "${SCREEN_LOGDIR}/error.log"