(e: unknown)
| 149 | }; |
| 150 | |
| 151 | const onRejected = (e: unknown) => { |
| 152 | captureException(e, { |
| 153 | mechanism: { |
| 154 | type: 'auto.faas.cloudflare.durable_object', |
| 155 | handled: false, |
| 156 | }, |
| 157 | }); |
| 158 | waitUntil?.(teardown()); |
| 159 | throw e; |
| 160 | }; |
| 161 | |
| 162 | if (!wrapperOptions.spanName) { |
| 163 | try { |
no test coverage detected