|
17 | 17 | from .constants import Messages, TokenAction
|
18 | 18 | from .exceptions import (EmailAlreadyInUse, TokenScopeError,
|
19 | 19 | UserAlreadyVerified, UserNotVerified)
|
20 |
| -from .graphql.base import (BaseRegister, PasswordResetBase, |
| 20 | +from .base import (BaseRegister, PasswordResetBase, |
21 | 21 | ResendActivationEmailBase,
|
22 | 22 | SendPasswordResetEmailBase, VerifyAccountBase)
|
23 | 23 | from .models import UserStatus
|
@@ -138,6 +138,7 @@ def perform_mutation(cls, root, info, **kwargs):
|
138 | 138 | # ],
|
139 | 139 | # countdown=10,
|
140 | 140 | # )
|
| 141 | + print("Exception details: %s" % str(e)) |
141 | 142 | return cls(
|
142 | 143 | success=False,
|
143 | 144 | errors=[Messages.SERVER_ERROR],
|
@@ -186,6 +187,7 @@ def perform_mutation(cls, root, info, **kwargs):
|
186 | 187 | # ],
|
187 | 188 | # countdown=10,
|
188 | 189 | # )
|
| 190 | + print("Exception details: %s" % str(e)) |
189 | 191 | return cls(
|
190 | 192 | success=False,
|
191 | 193 | errors=[Messages.SERVER_ERROR],
|
@@ -231,6 +233,7 @@ def perform_mutation(cls, root, info, **kwargs):
|
231 | 233 | # ],
|
232 | 234 | # countdown=10,
|
233 | 235 | # )
|
| 236 | + print("Exception details: %s" % str(e)) |
234 | 237 | return cls(
|
235 | 238 | success=False,
|
236 | 239 | errors=[Messages.SERVER_ERROR],
|
@@ -283,6 +286,7 @@ def perform_mutation(cls, root, info, **kwargs):
|
283 | 286 | # ],
|
284 | 287 | # countdown=10,
|
285 | 288 | # )
|
| 289 | + print("Exception details: %s" % str(e)) |
286 | 290 | return cls(
|
287 | 291 | success=False,
|
288 | 292 | errors=[Messages.SERVER_ERROR],
|
@@ -336,6 +340,7 @@ def perform_mutation(cls, root, info, **kwargs):
|
336 | 340 | # ],
|
337 | 341 | # countdown=10,
|
338 | 342 | # )
|
| 343 | + print("Exception details: %s" % str(e)) |
339 | 344 | return cls(
|
340 | 345 | success=False,
|
341 | 346 | errors=[Messages.SERVER_ERROR],
|
|
0 commit comments