handle errors explicitly when editing events