File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -502,7 +502,7 @@ export class AIProviderService implements Disposable {
502502 const commit = isCommit ( commitOrRevision )
503503 ? commitOrRevision
504504 : await this . container . git . commits ( commitOrRevision . repoPath ) . getCommit ( commitOrRevision . ref ) ;
505- if ( commit == null ) throw new AINoRequestDataError ( 'Unable to find commit ' ) ;
505+ if ( commit == null ) throw new AINoRequestDataError ( 'No commit found to explain. ' ) ;
506506 if ( cancellation . isCancellationRequested ) throw new CancellationError ( ) ;
507507
508508 if ( ! commit . hasFullDetails ( ) ) {
@@ -994,7 +994,7 @@ export class AIProviderService implements Disposable {
994994
995995 switch ( ex . reason ) {
996996 case AIErrorReason . NoRequestData :
997- void window . showErrorMessage ( ex . message ) ;
997+ void window . showInformationMessage ( ex . message ) ;
998998 return undefined ;
999999
10001000 case AIErrorReason . NoEntitlement : {
You can’t perform that action at this time.
0 commit comments