fix undeclared ok error.

This commit is contained in:
fiatjaf
2020-09-06 23:39:46 -03:00
parent ab6229806c
commit 130beaf38a
2 changed files with 3 additions and 3 deletions
+1
View File
@@ -74,6 +74,7 @@ def api_payments_pay_invoice():
except PermissionError as e:
return jsonify({"message": str(e)}), HTTPStatus.FORBIDDEN
except Exception as e:
print(e)
return jsonify({"message": str(e)}), HTTPStatus.INTERNAL_SERVER_ERROR
return (