Remove setErrorHandler. It's not being called.
Remove the error handler from WebStoreCommon.