Skip to content

Commit

Permalink
Move error reporter to www/shared/ instead of infrastructure/.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbruens committed Oct 2, 2023
1 parent 9ca2278 commit 2196d2c
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/www/app/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {SERVER_CONNECTION_INDICATOR_DURATION_MS} from '../views/servers_view/ser

import {Clipboard} from './clipboard';
import {EnvironmentVariables} from './environment';
import {OutlineErrorReporter} from '../../infrastructure/error_reporter';
import {OutlineErrorReporter} from '../shared/error_reporter';
import {OutlineServerRepository} from './outline_server_repository';
import {Settings, SettingsKey} from './settings';
import {Updater} from './updater';
Expand Down
2 changes: 1 addition & 1 deletion src/www/app/cordova_main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import * as Sentry from '@sentry/browser';

import {AbstractClipboard} from './clipboard';
import {EnvironmentVariables} from './environment';
import {SentryErrorReporter} from '../../infrastructure/error_reporter';
import {SentryErrorReporter} from '../shared/error_reporter';
import {main} from './main';
import * as errors from '../model/errors';
import {OutlinePlatform} from './platform';
Expand Down
2 changes: 1 addition & 1 deletion src/www/app/electron_main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {ErrorCode, OutlinePluginError} from '../model/errors';

import {AbstractClipboard} from './clipboard';
import {ElectronOutlineTunnel} from './electron_outline_tunnel';
import {getSentryBrowserIntegrations, OutlineErrorReporter, Tags} from './../../infrastructure/error_reporter';
import {getSentryBrowserIntegrations, OutlineErrorReporter, Tags} from '../shared/error_reporter';
import {FakeOutlineTunnel} from './fake_tunnel';
import {getLocalizationFunction, main} from './main';
import {AbstractUpdater} from './updater';
Expand Down
2 changes: 1 addition & 1 deletion src/www/app/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import {Clipboard} from './clipboard';
import {EnvironmentVariables} from './environment';
import {OutlineErrorReporter} from '../../infrastructure/error_reporter';
import {OutlineErrorReporter} from '../shared/error_reporter';
import {TunnelFactory} from './tunnel';
import {Updater} from './updater';
import {UrlInterceptor} from './url_interceptor';
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/www/views/contact_view/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {ContactView} from './index';

import {fixture, html, nextFrame, oneEvent} from '@open-wc/testing';
import {SupportForm} from './support_form';
import {OutlineErrorReporter, SentryErrorReporter} from '../../../infrastructure/error_reporter';
import {OutlineErrorReporter, SentryErrorReporter} from '../../shared/error_reporter';

describe('ContactView', () => {
let el: ContactView;
Expand Down
2 changes: 1 addition & 1 deletion src/www/views/contact_view/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {CardType} from '../shared/card';
import {IssueType} from './issue_type';
import {AppType} from './app_type';
import {FormValues, SupportForm, ValidFormValues} from './support_form';
import {OutlineErrorReporter} from '../../../infrastructure/error_reporter';
import {OutlineErrorReporter} from '../../shared/error_reporter';

/** The possible steps in the stepper. Only one step is shown at a time. */
enum Step {
Expand Down

0 comments on commit 2196d2c

Please sign in to comment.