mirror of
https://github.com/SukkaW/Surge.git
synced 2025-12-12 01:00:34 +08:00
Chore: improve trace information
This commit is contained in:
parent
97da9abea6
commit
8fc03a8a26
@ -529,7 +529,8 @@ export class FileOutput {
|
||||
|
||||
write(): Promise<unknown> {
|
||||
return this.span.traceChildAsync('write all', async (childSpan) => {
|
||||
await this.done();
|
||||
await childSpan.traceChildAsync('done', () => this.done());
|
||||
|
||||
childSpan.traceChildSync('write to strategies', () => this.writeToStrategies());
|
||||
|
||||
return childSpan.traceChildAsync('output to disk', (childSpan) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user