When the telemetry runs in the diagnostic mode, exception are not suppressed and telemetry traces are dumped to the stdout.
()
| 24 | |
| 25 | |
| 26 | def in_diagnostic_mode(): |
| 27 | """ |
| 28 | When the telemetry runs in the diagnostic mode, exception are not suppressed and telemetry |
| 29 | traces are dumped to the stdout. |
| 30 | """ |
| 31 | return os.environ.get(DIAGNOSTICS_TELEMETRY_ENV_NAME, False) == 'True' |
| 32 | |
| 33 | |
| 34 | class VortexSynchronousSender(SynchronousSender): |