Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix import

Oliver Günther6a4d4ff40f52
diff --git a/frontend/src/app/core/errors/appsignal/appsignal-dependency.ts b/frontend/src/app/core/errors/appsignal/appsignal-dependency.ts
index f397513730b..afeb444b9f5 100644
--- a/frontend/src/app/core/errors/appsignal/appsignal-dependency.ts
+++ b/frontend/src/app/core/errors/appsignal/appsignal-dependency.ts
@@ -1,9 +1,7 @@
import Appsignal from '@appsignal/javascript';
-import { Span } from '@appsignal/javascript/dist/esm/span';
import { plugin as networkPlugin } from '@appsignal/plugin-breadcrumbs-network';
export {
Appsignal,
- Span,
networkPlugin,
};
diff --git a/frontend/src/app/core/errors/appsignal/appsignal-reporter.ts b/frontend/src/app/core/errors/appsignal/appsignal-reporter.ts
index 42caa393a52..af1b2965591 100644
--- a/frontend/src/app/core/errors/appsignal/appsignal-reporter.ts
+++ b/frontend/src/app/core/errors/appsignal/appsignal-reporter.ts
@@ -28,7 +28,8 @@
import { debugLog } from 'core-app/shared/helpers/debug_output';
import { ErrorReporterBase, ErrorTags, MessageSeverity } from 'core-app/core/errors/error-reporter-base';
-import type { Appsignal, Span } from './appsignal-dependency';
+import type { Appsignal } from './appsignal-dependency';
+import { Span } from '@appsignal/javascript';
export class AppsignalReporter extends ErrorReporterBase {
private client:Appsignal;