diff --git a/libs/paylib.py b/libs/paylib.py index c135aa2..b3c7428 100644 --- a/libs/paylib.py +++ b/libs/paylib.py @@ -106,4 +106,6 @@ def sendTXDoc(signedDoc): except Exception as e: message = ast.literal_eval(str(e))["message"] sys.stderr.write("Echec de la transaction:\n" + message + "\n") - sys.exit(1) \ No newline at end of file + sys.exit(1) + + \ No newline at end of file diff --git a/pay.py b/pay.py index 4da7fc8..449e12a 100755 --- a/pay.py +++ b/pay.py @@ -13,7 +13,7 @@ try: else: comment = "" except Exception as e: - print(str(e)) + print("Please enter the recipient's public and the amount\n" + str(e)) sys.exit(1) # Execute workflow