[#185] bin: Print human-readable errors

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-06-10 11:32:20 +03:00 committed by Anastasia Prasolova
parent 7448e2e777
commit b725905b39
6 changed files with 65 additions and 35 deletions

6
bin/helper.sh Normal file
View file

@ -0,0 +1,6 @@
set -eo pipefail
die() {
echo "$(caller 0):" "$*" >&2
exit 1
}