shm/comma handle errors gracefully