log the exception we get from add_relation