Avoid crash on spiderable errors. Fixes #832.