From 85428dac40b63d45d1787f7a14b4a3f2cdc2e4fd Mon Sep 17 00:00:00 2001 From: Adhidarma Hadiwinoto <me@adhisimon.org> Date: Mon, 31 Oct 2016 21:51:29 +0700 Subject: [PATCH] return if Exception --- matrix-util.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/matrix-util.js b/matrix-util.js index 76a5046..92213ba 100644 --- a/matrix-util.js +++ b/matrix-util.js @@ -140,6 +140,7 @@ MatrixUtil.prototype._updateLastResponseTime = function(partner) { } catch(e) { logger.warn('Exception when preparing updateLastResponseTime', {err: e}); + return; } try { @@ -152,6 +153,7 @@ MatrixUtil.prototype._updateLastResponseTime = function(partner) { } catch(e) { logger.warn('Exception when checking if last_incoming > last_outgoing', {err: e}); + return; } -- 1.9.0