Commit 85428dac40b63d45d1787f7a14b4a3f2cdc2e4fd

Authored by Adhidarma Hadiwinoto
1 parent 98cfca3add
Exists in master

return if Exception

Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff

... ... @@ -140,6 +140,7 @@ MatrixUtil.prototype._updateLastResponseTime = function(partner) {
140 140 }
141 141 catch(e) {
142 142 logger.warn('Exception when preparing updateLastResponseTime', {err: e});
  143 + return;
143 144 }
144 145  
145 146 try {
... ... @@ -152,6 +153,7 @@ MatrixUtil.prototype._updateLastResponseTime = function(partner) {
152 153 }
153 154 catch(e) {
154 155 logger.warn('Exception when checking if last_incoming > last_outgoing', {err: e});
  156 + return;
155 157 }
156 158  
157 159