Don't crash on an error while creating a block