git status --porcelain error?
    René J.V. Bertin 
    rjvbertin at gmail.com
       
    Mon Jan  9 13:34:53 GMT 2017
    
    
  
On Monday January 9 2017 12:46:16 Kevin Funk wrote:
>I don't think that's necessary. Showing the git output as-is is already quite 
>verbose.
I was thinking about something like this:
@@ -244,8 +244,8 @@ void DVcsJob::slotProcessError( QProcess::ProcessError err )
     qCDebug(VCS) << "Found an error while running" << displayCommand << ":" << errorValue
                                                      << "Exit code is:" << d->childproc->exitCode();
     qCDebug(VCS) << "Error:" << completeErrorText;
-    displayOutput(QString::fromLocal8Bit(d->errorOutput));
-    d->model->appendLine(i18n("Command finished with error %1.", errorValue));
+//     displayOutput(QString::fromLocal8Bit(d->errorOutput));
+    d->model->appendLine(i18n("%1 (%2).", completeErrorText, errorValue));
 
     if(verbosity()==Silent) {
         setVerbosity(Verbose);
>What /could/ make sense is to elaborate what `FailedToStart` means for the 
>user...
Yeah, but that's not going to tell *me* anything. I don't need hints what the error means but why it happens ;)
    
    
More information about the KDevelop
mailing list