Skip to content

Commit 390b32f

Browse files
committed
Fix missing span end
1 parent f61671f commit 390b32f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/cli-v3/src/utilities/javascriptProject.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,14 @@ export class JavascriptProject {
111111
});
112112
} catch (error) {
113113
recordSpanException(span, error);
114-
span.end();
115114

116115
logger.debug(`Failed to resolve internal dependencies using ${command.name}`, {
117116
error,
118117
});
119118

120119
throw error;
120+
} finally {
121+
span.end();
121122
}
122123
}
123124
);

0 commit comments

Comments
 (0)