nicer logging
This commit is contained in:
parent
49739455b0
commit
bef69272f6
@ -23,10 +23,12 @@
|
||||
#
|
||||
# Setup keys.
|
||||
taler-mint-keyup -d test-mint-home -m test-mint-home/master.priv
|
||||
# Only log hard errors, we expect lots of warnings...
|
||||
export GNUNET_FORCE_LOG="taler-mint-httpd;;;;ERROR/libmicrohttpd;;;;ERROR/"
|
||||
# Run test...
|
||||
for n in afl-tests/*.req
|
||||
for n in afl-tests/*
|
||||
do
|
||||
echo -n "Test $n"
|
||||
echo -n "Test $n "
|
||||
taler-mint-httpd -d test-mint-home/ -t 1 -f $n -C > /dev/null || { echo "FAIL!"; exit 1; }
|
||||
echo "OK"
|
||||
done
|
||||
|
@ -305,7 +305,7 @@ TALER_json_to_amount (json_t *json,
|
||||
GNUNET_break (0);
|
||||
return GNUNET_SYSERR;
|
||||
}
|
||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
||||
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
|
||||
"Malformed JSON amount: %s\n",
|
||||
json_enc);
|
||||
free (json_enc);
|
||||
|
Loading…
Reference in New Issue
Block a user