We forgot to import PermissionError.

We didn't run into this because in local testing, publishing the
children didn't go wrong, so we never hit this path.