add local storage error alert