Jsahleen has submitted this change and it was merged.

Change subject: Add more logging
......................................................................


Add more logging

Change-Id: I6d70fe686f02add7400f50d12c2e0836a899b6c9
---
M mt/MTClient.js
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Jsahleen: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/mt/MTClient.js b/mt/MTClient.js
index 3453f29..73e01c8 100644
--- a/mt/MTClient.js
+++ b/mt/MTClient.js
@@ -73,6 +73,7 @@
                                deferred.reject( ex );
                        }
                }, function ( error ) {
+                       logger.error( error.toString() );
                        deferred.reject( error );
                } );
        }
@@ -153,6 +154,7 @@
                        rangeMappings: rangeMappings
                } );
        }, function ( error ) {
+               logger.error( error.toString() );
                deferred.reject( error );
        } );
 
@@ -184,6 +186,7 @@
                var targetText = targetLinesText.split( /\.реерее\./g );
                deferred.resolve( targetText );
        }, function ( error ) {
+               logger.error( error.toString() );
                deferred.reject( error );
        } );
        return deferred.promise;

-- 
To view, visit https://gerrit.wikimedia.org/r/179459
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I6d70fe686f02add7400f50d12c2e0836a899b6c9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/services/cxserver
Gerrit-Branch: master
Gerrit-Owner: KartikMistry <kartik.mis...@gmail.com>
Gerrit-Reviewer: Jsahleen <jsahl...@wikimedia.org>
Gerrit-Reviewer: Santhosh <santhosh.thottin...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to