This commit is contained in:
crusader 2018-09-10 23:54:08 +09:00
parent 0c8e5c0527
commit 22f879d06d

View File

@ -15,6 +15,8 @@ import * as d3 from 'd3';
import { Node } from '../../../commons/model/node';
import { Link } from '../../../commons/model/link';
import { RPCError } from '@overflow/rpc-js';
@Component({
selector: 'app-pages-home',
templateUrl: './home-page.component.html',
@ -224,7 +226,7 @@ export class HomePageComponent implements OnInit, OnDestroy {
* DiscoverHost
*/
@RPCSubscriber({ method: 'DiscoveryService.DiscoveryError' })
public DiscoveryError(err: Error) {
public DiscoveryError(err: RPCError) {
console.log('DiscoveryError', err);
}