Skip to content

Commit 38318e5

Browse files
committed
Update methods.py
1 parent 62e9543 commit 38318e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

licensing/methods.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ def activate(token, rsa_pub_key, product_id, key, machine_code, fields_to_return
6464
return (LicenseKey.from_response(response), response.message)
6565
else:
6666
return (None, "The signature check failed.")
67-
except Exception:
68-
return (None, "The signature check failed.")
67+
except Exception as ex:
68+
return (None, "An error occured: {0}".format(ex))
6969

7070
@staticmethod
7171
def get_key(token, rsa_pub_key, product_id, key, fields_to_return = 0,\

0 commit comments

Comments
 (0)