mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-05-21 21:28:52 +00:00
amplitude: only log generic error message
This commit is contained in:
parent
005f74d918
commit
b6201a3b75
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ let _sendDataToAmplitude = (eventType, data) => {
|
|||
return new Bluebird((resolve, reject) => {
|
||||
amplitude.track(amplitudeData)
|
||||
.then(resolve)
|
||||
.catch(reject);
|
||||
.catch(() => reject('Error while sending data to Amplitude.'));
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue