Remove circular dependency.
This commit is contained in:
parent
3fc21c25ae
commit
f3c14578da
@ -1,13 +1,12 @@
|
||||
import {ErrorHandler, Injectable} from '@angular/core';
|
||||
import {LoggingService} from '@app/_services';
|
||||
import {LoggingService} from '@app/_services/logging.service';
|
||||
import {HttpErrorResponse} from '@angular/common/http';
|
||||
|
||||
@Injectable()
|
||||
export class GlobalErrorHandler extends ErrorHandler {
|
||||
private sentencesForWarningLogging: string[] = [];
|
||||
private loggingService: LoggingService;
|
||||
|
||||
constructor() {
|
||||
constructor(private loggingService: LoggingService) {
|
||||
super();
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@ import { Injectable } from '@angular/core';
|
||||
import {BehaviorSubject} from 'rxjs';
|
||||
import {environment} from '@src/environments/environment';
|
||||
import {first} from 'rxjs/operators';
|
||||
import {HttpWrapperService} from '@app/_services/';
|
||||
import {HttpWrapperService} from '@app/_services/http-wrapper.service';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
|
@ -10,7 +10,7 @@ export const environment = {
|
||||
level: NgxLoggerLevel.TRACE,
|
||||
serverLogLevel: NgxLoggerLevel.ERROR,
|
||||
loggingUrl: 'http://localhost:8000',
|
||||
cicAuthUrl: 'https://meta.dev.grassrootseconomics.net',
|
||||
cicAuthUrl: 'http://localhost:8080',
|
||||
cicMetaUrl: 'http://localhost:63380',
|
||||
publicKeysUrl: 'http://localhost:8000',
|
||||
cicCacheUrl: 'http://localhost:63313',
|
||||
|
Loading…
Reference in New Issue
Block a user