Skip to content

Commit bc57327

Browse files
fix: remove build_graph transaction (#971)
all of our sentry errors have this transaction on them b/c we not stopping the transaction
1 parent 705d691 commit bc57327

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/codegen/sdk/codebase/codebase_context.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
from codegen.shared.enums.programming_language import ProgrammingLanguage
3333
from codegen.shared.exceptions.control_flow import StopCodemodException
3434
from codegen.shared.logging.get_logger import get_logger
35-
from codegen.shared.performance.stopwatch_utils import stopwatch, stopwatch_with_sentry
35+
from codegen.shared.performance.stopwatch_utils import stopwatch
3636

3737
if TYPE_CHECKING:
3838
from collections.abc import Generator, Mapping, Sequence
@@ -226,7 +226,7 @@ def _graph(self) -> PyDiGraph[Importable, Edge]:
226226
def _graph(self, value: PyDiGraph[Importable, Edge]) -> None:
227227
self.__graph = value
228228

229-
@stopwatch_with_sentry(name="build_graph")
229+
@stopwatch
230230
@commiter
231231
def build_graph(self, repo_operator: RepoOperator) -> None:
232232
"""Builds a codebase graph based on the current file state of the given repo operator"""

0 commit comments

Comments
 (0)