add logging of exception to datastore __init__