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

Re-raise local sentry error

Oliver Güntherf91deb590726
diff --git a/frontend/src/app/sentry/sentry-reporter.ts b/frontend/src/app/sentry/sentry-reporter.ts
index 13a03c98710..e6a8677101a 100644
--- a/frontend/src/app/sentry/sentry-reporter.ts
+++ b/frontend/src/app/sentry/sentry-reporter.ts
@@ -116,7 +116,8 @@ export class SentryReporter implements ErrorReporter {
public captureException(err:Error|string) {
if (!this.client || !err) {
- return this.handleOfflineMessage('captureException', Array.from(arguments));
+ this.handleOfflineMessage('captureException', Array.from(arguments));
+ throw err;
}
if (typeof err === 'string') {