Handle anvil build errors

Rescue from anvil build errors like the following https://magnum.travis-ci.com/sixdoorsHQ/api/jobs/1204076