diff --git a/capsulflask/payment.py b/capsulflask/payment.py index d5aab44..99be869 100644 --- a/capsulflask/payment.py +++ b/capsulflask/payment.py @@ -47,6 +47,7 @@ def validate_dollars(min: float, max: float): elif dollars and dollars >= maxAsDecimal: errors.append(f"dollars must be less than {str(maxAsDecimal)}") + current_app.logger.info(f"{len(errors)} {errors}") return [dollars, errors] @bp.route("/btcpay", methods=("GET", "POST")) @@ -60,6 +61,7 @@ def btcpay_payment(): if request.method == "POST": dollars, errors = validate_dollars(0.01, 1000) + current_app.logger.info(f"{len(errors)} {errors}") if len(errors) == 0: try: