nicer logging
This commit is contained in:
parent
49739455b0
commit
bef69272f6
@ -23,8 +23,10 @@
|
|||||||
#
|
#
|
||||||
# Setup keys.
|
# Setup keys.
|
||||||
taler-mint-keyup -d test-mint-home -m test-mint-home/master.priv
|
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...
|
# Run test...
|
||||||
for n in afl-tests/*.req
|
for n in afl-tests/*
|
||||||
do
|
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; }
|
taler-mint-httpd -d test-mint-home/ -t 1 -f $n -C > /dev/null || { echo "FAIL!"; exit 1; }
|
||||||
|
@ -305,7 +305,7 @@ TALER_json_to_amount (json_t *json,
|
|||||||
GNUNET_break (0);
|
GNUNET_break (0);
|
||||||
return GNUNET_SYSERR;
|
return GNUNET_SYSERR;
|
||||||
}
|
}
|
||||||
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
|
||||||
"Malformed JSON amount: %s\n",
|
"Malformed JSON amount: %s\n",
|
||||||
json_enc);
|
json_enc);
|
||||||
free (json_enc);
|
free (json_enc);
|
||||||
|
Loading…
Reference in New Issue
Block a user