@@ -146,13 +146,22 @@ class Channel implements Channel {
146146// Should wait for workspace before running otherwise requires access to root folder
147147const isGitInstalled = await gitVersion ( )
148148if ( ! isGitInstalled ) {
149- this . send ( { type :'GIT_NOT_INSTALLED' } )
149+ const error :E . ErrorMessage = {
150+ type :'GitNotFound' ,
151+ message :'' ,
152+ actions :[
153+ {
154+ label :'Check Again' ,
155+ transition :'RETRY' ,
156+ } ,
157+ ] ,
158+ }
159+ this . send ( { type :'VALIDATE_SETUP_FAILED' , payload :{ error} } )
150160return
151161}
152162this . send ( { type :'SETUP_VALIDATED' } )
153163return
154164case 'EDITOR_REQUEST_WORKSPACE' :
155- console . log ( 'request workspace' )
156165openWorkspace ( )
157166return
158167// load step actions (git commits, commands, open files)
@@ -183,6 +192,7 @@ class Channel implements Channel {
183192// onError(new Error(`Error Markdown file not found for ${action.type}`))
184193} )
185194
195+ // log error to console for safe keeping
186196console . log ( `ERROR:\n${ errorMarkdown } ` )
187197
188198if ( errorMarkdown ) {