Handle errors in add_open()