In here the library set's up a trace message that includes the original message. I believe this is unnecessary and the formatting causes an issue for rendering traces in GCP which should happen automatically. The trace format needs to be in the original traceback format https://cloud.google.com/error-reporting/docs/formatting-error-messages#log-error this specifies that it needs to be exactly in the traceback format.