File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ const codeMirrorPlugin: JupyterFrontEndPlugin<void> = {
154154
155155 await createCodeMirrorDiffWidget ( options ) ;
156156 } catch ( error ) {
157- console . error ( trans . __ ( 'Failed to create diff widget:' ) , error ) ;
157+ console . error ( trans . __ ( 'Failed to create diff widget: %1 ' ) , error ) ;
158158 }
159159 }
160160 } ) ;
@@ -254,7 +254,7 @@ const nbdimePlugin: JupyterFrontEndPlugin<void> = {
254254 diffData = ( response as any ) . diff ;
255255 } catch ( error ) {
256256 console . warn (
257- trans . __ ( 'Failed to fetch diff data from server:' ) ,
257+ trans . __ ( 'Failed to fetch diff data from server: %1 ' ) ,
258258 error
259259 ) ;
260260 }
@@ -280,7 +280,7 @@ const nbdimePlugin: JupyterFrontEndPlugin<void> = {
280280
281281 await createNBDimeDiffWidget ( options ) ;
282282 } catch ( error ) {
283- console . error ( trans . __ ( 'Failed to create diff widget:' ) , error ) ;
283+ console . error ( trans . __ ( 'Failed to create diff widget: %1 ' ) , error ) ;
284284 }
285285 }
286286 } ) ;
You can’t perform that action at this time.
0 commit comments