@@ -131,7 +131,7 @@ module.exports = React.createClass({
131131 this . _refreshFromServer ( ) ;
132132 } , ( error ) => {
133133 var ErrorDialog = sdk . getComponent ( "dialogs.ErrorDialog" ) ;
134- Modal . createTrackedDialog ( 'Error saving email notification preferences' , error . toString ( ) , ErrorDialog , {
134+ Modal . createTrackedDialog ( 'Error saving email notification preferences' , '' , ErrorDialog , {
135135 title : _t ( 'Error saving email notification preferences' ) ,
136136 description : _t ( 'An error occurred whilst saving your email notification preferences.' ) ,
137137 } ) ;
@@ -241,7 +241,7 @@ module.exports = React.createClass({
241241 } , function ( error ) {
242242 var ErrorDialog = sdk . getComponent ( "dialogs.ErrorDialog" ) ;
243243 console . error ( "Failed to change settings: " + error ) ;
244- Modal . createTrackedDialog ( 'Failed to change settings' , error . toString ( ) , ErrorDialog , {
244+ Modal . createTrackedDialog ( 'Failed to change settings' , '' , ErrorDialog , {
245245 title : _t ( 'Failed to change settings' ) ,
246246 description : ( ( error && error . message ) ? error . message : _t ( 'Operation failed' ) ) ,
247247 onFinished : self . _refreshFromServer
@@ -311,7 +311,7 @@ module.exports = React.createClass({
311311 } , function ( error ) {
312312 var ErrorDialog = sdk . getComponent ( "dialogs.ErrorDialog" ) ;
313313 console . error ( "Can't update user notification settings: " + error ) ;
314- Modal . createTrackedDialog ( 'Can\'t update user notifcation settings' , error . toString ( ) , ErrorDialog , {
314+ Modal . createTrackedDialog ( 'Can\'t update user notifcation settings' , '' , ErrorDialog , {
315315 title : _t ( 'Can\'t update user notification settings' ) ,
316316 description : ( ( error && error . message ) ? error . message : _t ( 'Operation failed' ) ) ,
317317 onFinished : self . _refreshFromServer
@@ -353,7 +353,7 @@ module.exports = React.createClass({
353353 var onError = function ( error ) {
354354 var ErrorDialog = sdk . getComponent ( "dialogs.ErrorDialog" ) ;
355355 console . error ( "Failed to update keywords: " + error ) ;
356- Modal . createTrackedDialog ( 'Failed to update keywords' , error . toString ( ) , ErrorDialog , {
356+ Modal . createTrackedDialog ( 'Failed to update keywords' , '' , ErrorDialog , {
357357 title : _t ( 'Failed to update keywords' ) ,
358358 description : ( ( error && error . message ) ? error . message : _t ( 'Operation failed' ) ) ,
359359 onFinished : self . _refreshFromServer
0 commit comments