mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-15 05:37: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) => {
|
||||
amplitude.track(amplitudeData)
|
||||
.then(resolve)
|
||||
.catch(reject);
|
||||
.catch(() => reject('Error while sending data to Amplitude.'));
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user