diff --git a/www/plugins/es/js/services/message-services.js b/www/plugins/es/js/services/message-services.js
index 7bb5c436cd4e97e5fdb595f44257f2eafb0ade3c..4da3ae86e5fab715f4e3b71e3dbb643d8d9e013c 100644
--- a/www/plugins/es/js/services/message-services.js
+++ b/www/plugins/es/js/services/message-services.js
@@ -86,7 +86,7 @@ angular.module('cesium.es.message.services', ['ngResource', 'cesium.platform',
     }
 
     function countUnreadMessages(options) {
-      if (typeof options === 'string') throw new Error('Invalid argument options: expected an object, but get a string!')
+      if (typeof options === 'string') throw new Error('Invalid argument options: expected an object, but get a string!');
       options = options || {};
       var wallet = options.wallet ||
         (options.walletId && csWallet.children.get(options.walletId)) || csWallet;