Bug 179 - Error: Raven has not been configured
Summary: Error: Raven has not been configured
Status: RESOLVED INVALID
Alias: None
Product: ZeXtras
Classification: Unclassified
Component: ZxChat (show other bugs)
Version: 2.2.1
Hardware: Physical Infrastructure Linux
: Normal normal
Assignee: ZeXtras Bugzilla Admin
QA Contact:
URL:
Depends on:
Blocks:
 
Reported: 2016-01-16 07:09 CET by info
Modified: 2016-02-03 13:55 CET (History)
1 user (show)

See Also:
Browser: ---
Zimlet Chat version: 1.35
Zimbra Version: 8.6.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description info 2016-01-16 07:09:24 CET
At Zimlet framework initialization on all my installs I get a JS errror:

Error: Raven has not been configured

Everything works, but I like all errors handled as much as possible, so if there is a real issue, I stands out in console log.

com_zextras_chat_bundle.js?v=141215152838&language=en&country=US:7510 Error: Raven has not been configured.logDebug @ com_zextras_chat_bundle.js?v=141215152838&language=en&country=US:7510isSetup @ com_zextras_chat_bundle.js?v=141215152838&language=en&country=US:7471Raven.isSetup @ com_zextras_chat_bundle.js?v=141215152838&language=en&country=US:7082SentryReporter @ com_zextras_chat_bundle.js?v=141215152838&language=en&country=US:7907ZxChatZimletBase.init @ com_zextras_chat_bundle.js?v=141215152838&language=en&country=US:17625ZxChatZimlet.init @ com_zextras_chat_bundle.js?v=141215152838&language=en&country=US:79ZmZimletContext._finished_loadIncludes @ ZmZimletContext.js?v=141215152838:266ZmZimletMgr._finished_loadIncludes @ ZmZimletMgr.js?v=141215152838:520AjxCallback.run @ AjxCallback.js?v=141215152838:93loadNextScript @ AjxInclude.js?v=141215152838:106(anonymous function) @ AjxCallback.js?v=141215152838:170


	function logDebug(level, message) {
	    if (window.console && console[level] && Raven.debug) {
	        console[level](message);
	    }
	}
Comment 1 Bud 2016-02-03 13:55:15 CET
This is not a real error.
We use Raven as component for error reporting, older version of the library warn in the debug console with an error when the component is initialized twice, this is not a real error.
With new version of Raven the warning is not displayed as an harmful error anymore.