Added error handler and implemented it in settings.js