diff --git a/frontend-js/src/main/js/map/data/Alias.js b/frontend-js/src/main/js/map/data/Alias.js
index a813a5ba24c25ec4300d1ea8d1a5aeabb71fba5f..e1d30f6f0c66dab022ab81fa5fe382b00cac5637 100644
--- a/frontend-js/src/main/js/map/data/Alias.js
+++ b/frontend-js/src/main/js/map/data/Alias.js
@@ -2,6 +2,7 @@
 
 var BioEntity = require("./BioEntity");
 
+// noinspection JSUnusedLocalSymbols
 var logger = require('../../logger');
 
 /**
@@ -26,7 +27,7 @@ function Alias(javaObject) {
   }
 
   if (this._modelId === undefined) {
-    throw new Error("ModelId is not defined for alias", javaObject);
+    throw new Error("ModelId is not defined for alias");
   }
 
   if (javaObject.name === undefined) {