@@ -30,14 +30,13 @@ import * as localize from '../../common/utils/localize';
3030import { IInterpreterService , PythonInterpreter } from '../../interpreter/contracts' ;
3131import { captureTelemetry , sendTelemetryEvent } from '../../telemetry' ;
3232import { EditorContexts , Identifiers , Telemetry } from '../constants' ;
33- import { HistoryMessageListener } from './historyMessageListener' ;
34- import { HistoryMessages , IAddedSysInfo , IGotoCode , IHistoryMapping , IRemoteAddCode , ISubmitNewCell } from './historyTypes' ;
3533import { JupyterInstallError } from '../jupyter/jupyterInstallError' ;
3634import {
3735 CellState ,
3836 ICell ,
3937 ICodeCssGenerator ,
4038 IConnection ,
39+ IDataExplorerProvider ,
4140 IDataScienceExtraSettings ,
4241 IHistory ,
4342 IHistoryInfo ,
@@ -46,9 +45,10 @@ import {
4645 INotebookExporter ,
4746 INotebookServer ,
4847 InterruptResult ,
49- IStatusProvider ,
50- IDataExplorerProvider
48+ IStatusProvider
5149} from '../types' ;
50+ import { HistoryMessageListener } from './historyMessageListener' ;
51+ import { HistoryMessages , IAddedSysInfo , IGotoCode , IHistoryMapping , IRemoteAddCode , ISubmitNewCell } from './historyTypes' ;
5252
5353export enum SysInfoReason {
5454 Start ,
@@ -238,7 +238,8 @@ export class History implements IHistory {
238238 break ;
239239
240240 case HistoryMessages . ShowDataExplorer :
241- this . showDataExplorer ( ) ;
241+ this . showDataExplorer ( )
242+ . ignoreErrors ( ) ;
242243 break ;
243244
244245 default :
@@ -394,7 +395,7 @@ export class History implements IHistory {
394395 }
395396
396397 // tslint:disable-next-line:no-any
397- private dispatchMessage < M extends IHistoryMapping , T extends keyof M > ( message : T , payload : any , handler : ( args : M [ T ] ) => void ) {
398+ private dispatchMessage < M extends IHistoryMapping , T extends keyof M > ( _message : T , payload : any , handler : ( args : M [ T ] ) => void ) {
398399 const args = payload as M [ T ] ;
399400 handler . bind ( this ) ( args ) ;
400401 }
@@ -492,7 +493,7 @@ export class History implements IHistory {
492493 }
493494 }
494495
495- private async submitCode ( code : string , file : string , line : number , id ?: string , editor ?: TextEditor ) : Promise < void > {
496+ private async submitCode ( code : string , file : string , line : number , id ?: string , _editor ?: TextEditor ) : Promise < void > {
496497 this . logger . logInformation ( `Submitting code for ${ this . id } ` ) ;
497498
498499 // Start a status item
@@ -763,7 +764,7 @@ export class History implements IHistory {
763764 }
764765 }
765766
766- private async loadJupyterServer ( restart ?: boolean ) : Promise < void > {
767+ private async loadJupyterServer ( _restart ?: boolean ) : Promise < void > {
767768 this . logger . logInformation ( 'Getting jupyter server options ...' ) ;
768769
769770 // Extract our options
0 commit comments