Skip to content

Commit 860b6fc

Browse files
committed
fix: replace console.error with logger in integrationStorage
1 parent 10653f7 commit 860b6fc

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/notebooks/deepnote/integrations/integrationStorage.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { inject, injectable } from 'inversify';
22

33
import { IEncryptedStorage } from '../../../platform/common/application/types';
4+
import { logger } from '../../../platform/logging';
45
import { IntegrationConfig, IntegrationType } from './integrationTypes';
56

67
const INTEGRATION_SERVICE_NAME = 'deepnote-integrations';
@@ -128,12 +129,12 @@ export class IntegrationStorage {
128129
const config: IntegrationConfig = JSON.parse(configJson);
129130
this.cache.set(id, config);
130131
} catch (error) {
131-
console.error(`Failed to parse integration config for ${id}:`, error);
132+
logger.error(`Failed to parse integration config for ${id}:`, error);
132133
}
133134
}
134135
}
135136
} catch (error) {
136-
console.error('Failed to parse integration index:', error);
137+
logger.error('Failed to parse integration index:', error);
137138
}
138139

139140
this.cacheLoaded = true;

0 commit comments

Comments
 (0)