making logging a bit smarter
fixing error handling and loggin in store