diff --git a/i-bem/__json/i-bem__json.js b/i-bem/__json/i-bem__json.js index 2e80b9e..01674de 100644 --- a/i-bem/__json/i-bem__json.js +++ b/i-bem/__json/i-bem__json.js @@ -545,7 +545,7 @@ if (typeof BEM === 'undefined') { * Default handler for errors in decls */ _declErrorHandler: function (err) { - console.error(err); + console.error(err instanceof Error ? err.stack : err); } }; BEM.JSON = {