Better error handling for ContactStore and contacts jsbox resource