ing
This commit is contained in:
parent
0c8e5c0527
commit
22f879d06d
|
@ -15,6 +15,8 @@ import * as d3 from 'd3';
|
||||||
import { Node } from '../../../commons/model/node';
|
import { Node } from '../../../commons/model/node';
|
||||||
import { Link } from '../../../commons/model/link';
|
import { Link } from '../../../commons/model/link';
|
||||||
|
|
||||||
|
import { RPCError } from '@overflow/rpc-js';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-pages-home',
|
selector: 'app-pages-home',
|
||||||
templateUrl: './home-page.component.html',
|
templateUrl: './home-page.component.html',
|
||||||
|
@ -224,7 +226,7 @@ export class HomePageComponent implements OnInit, OnDestroy {
|
||||||
* DiscoverHost
|
* DiscoverHost
|
||||||
*/
|
*/
|
||||||
@RPCSubscriber({ method: 'DiscoveryService.DiscoveryError' })
|
@RPCSubscriber({ method: 'DiscoveryService.DiscoveryError' })
|
||||||
public DiscoveryError(err: Error) {
|
public DiscoveryError(err: RPCError) {
|
||||||
console.log('DiscoveryError', err);
|
console.log('DiscoveryError', err);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user