Closed jonathanstegall closed 4 years ago
This fixes #350 by checking for a WordPress ID before creating or updating an object map. If it does not have that value, it creates an error log.
I'm a little unsure how to test this yet. It's not exactly clear to me what causes this error to happen.
I think this is the best way. We can log it if there's no WP ID when we first start trying to push. Then in case it gets deleted in the middle, we check one more time before sending to the mapping class.
What does this PR do?
This fixes #350 by checking for a WordPress ID before creating or updating an object map. If it does not have that value, it creates an error log.
How do I test this PR?
I'm a little unsure how to test this yet. It's not exactly clear to me what causes this error to happen.