mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Log subscription errors.
This commit is contained in:
parent
23ed1e2aa3
commit
362d75ef81
1 changed files with 1 additions and 0 deletions
|
@ -121,6 +121,7 @@ define [
|
|||
completeSubscription = (err, recurly_token_id) ->
|
||||
$scope.validation.errorFields = {}
|
||||
if err?
|
||||
event_tracking.sendMB "subscription-error", err
|
||||
# We may or may not be in a digest loop here depending on
|
||||
# whether recurly could do validation locally, so do it async
|
||||
$scope.$evalAsync () ->
|
||||
|
|
Loading…
Reference in a new issue