Log errors when updating device info.

This commit is contained in:
Pagan Gazzard 2014-10-15 19:10:13 +01:00 committed by Pablo Carranza Vélez
parent 0240f74f47
commit 19e066bf24

View File

@ -311,6 +311,8 @@ exports.updateDeviceInfo = updateDeviceInfo = (body) ->
customOptions:
apikey: apiKey
)
.catch (error) ->
utils.mixpanelTrack('Device info update failure', {error, body})
cleanupContainersAndImages = ->
knex('app').select()