Add another DCHECK that an exception isn't pending.

The code assumes there should not be any - it's unclear if that's the
case, but add a DCHECK to diagnose.

Test: test.py
Bug: 73760543
Change-Id: If9c89261f1f1dfc4d4966ea89474d8a2ee224452
1 file changed