during our site development in the last few weeks, there were several moments where there were exceptions thrown inside the boxalino intelligence plugin: bad configurations, unknown bx widget name, network problems, timeouts, webservice errors due to new attributes, webservice errors due to missing attribute values etc. in all these cases, the website was at best severely cripled or not working at all due to missing proper error handling.
the plugin should:
define a module operation mode ("production" <-> "development") in the configuration
if production mode is set to "production":
catch all exceptions and handle them gracefully
depending on the exception "gracefully" should mean:
fallback to the magento internal functionality (product recommendations, upsell, full text search)
or output a user friendly error message instead of the expected block content
during our site development in the last few weeks, there were several moments where there were exceptions thrown inside the boxalino intelligence plugin: bad configurations, unknown bx widget name, network problems, timeouts, webservice errors due to new attributes, webservice errors due to missing attribute values etc. in all these cases, the website was at best severely cripled or not working at all due to missing proper error handling.
the plugin should:
here's a quick example for the Crossell class: