(self)
| 31 | sentry_sdk.flush() |
| 32 | |
| 33 | def _run_script(self): |
| 34 | return subprocess.run( |
| 35 | self.command, |
| 36 | text=True, |
| 37 | stdout=sys.stdout, |
| 38 | stderr=subprocess.PIPE, |
| 39 | check=True, |
| 40 | ) |
| 41 | |
| 42 | def _setup_sentry(self, dsn): |
| 43 | sentry_sdk.init(dsn=dsn, traces_sample_rate=1.0) # Configure? |