Fix pycodeerror issue

```
except PyCodeError:
  raise
```