Add a little more logging to failure cases.
Add a little more logging to failure cases.

PiperOrigin-RevId: 427459159
Change-Id: I34b6027cccfc4b3903ef4deeb9c133598b6667d4

google/sandboxed-api,google/sandboxed-api,google/sandboxed-api,google/sandboxed-api