add error message to logging
Merge pull request #772 from guardian/local-storage-module

Add error message to logging