mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-25 05:52:16 +00: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) ->
|
completeSubscription = (err, recurly_token_id) ->
|
||||||
$scope.validation.errorFields = {}
|
$scope.validation.errorFields = {}
|
||||||
if err?
|
if err?
|
||||||
|
event_tracking.sendMB "subscription-error", err
|
||||||
# We may or may not be in a digest loop here depending on
|
# We may or may not be in a digest loop here depending on
|
||||||
# whether recurly could do validation locally, so do it async
|
# whether recurly could do validation locally, so do it async
|
||||||
$scope.$evalAsync () ->
|
$scope.$evalAsync () ->
|
||||||
|
|
Loading…
Reference in a new issue