File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ import {
1111 NotebookRange ,
1212 NotebookCell
1313} from 'vscode' ;
14+ import z from 'zod' ;
15+
16+ import { logger } from '../../platform/logging' ;
1417import { IExtensionSyncActivationService } from '../../platform/activation/types' ;
1518import { IDisposableRegistry } from '../../platform/common/types' ;
1619import { Commands } from '../../platform/common/constants' ;
@@ -28,7 +31,6 @@ import {
2831 DeepnoteFileInputMetadataSchema ,
2932 DeepnoteButtonMetadataSchema
3033} from './deepnoteSchemas' ;
31- import z from 'zod' ;
3234
3335type InputBlockType =
3436 | 'input-text'
@@ -76,6 +78,7 @@ export function safeParseDeepnoteVariableNameFromContentJson(content: string): s
7678 try {
7779 return JSON . parse ( content ) [ 'deepnote_variable_name' ] ;
7880 } catch ( error ) {
81+ logger . error ( 'Error parsing deepnote variable name from content JSON' , error ) ;
7982 return undefined ;
8083 }
8184}
You can’t perform that action at this time.
0 commit comments