forked from TrueCloudLab/frostfs-dev-env
[#185] bin: Print human-readable errors
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
7448e2e777
commit
b725905b39
6 changed files with 65 additions and 35 deletions
6
bin/helper.sh
Normal file
6
bin/helper.sh
Normal file
|
@ -0,0 +1,6 @@
|
|||
set -eo pipefail
|
||||
|
||||
die() {
|
||||
echo "$(caller 0):" "$*" >&2
|
||||
exit 1
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue