mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 21:57:22 +01:00
amplitude: only log generic error message
This commit is contained in:
@@ -163,7 +163,7 @@ let _sendDataToAmplitude = (eventType, data) => {
|
|||||||
return new Bluebird((resolve, reject) => {
|
return new Bluebird((resolve, reject) => {
|
||||||
amplitude.track(amplitudeData)
|
amplitude.track(amplitudeData)
|
||||||
.then(resolve)
|
.then(resolve)
|
||||||
.catch(reject);
|
.catch(() => reject('Error while sending data to Amplitude.'));
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user