this.logService.info(`doSave(${versionId}) - exit - because not dirty and/or versionId is different (this.isDirty: ${this.dirty}, this.versionId: ${this.versionId})`,this.resource);
diag(`doSave(${versionId}) - exit - because not dirty and/or versionId is different (this.isDirty: ${this.dirty}, this.versionId: ${this.versionId})`,this.resource,newDate());
this.logService.error(`doSave(${versionId}) - exit - resulted in a save error: ${error.toString()}`,this.resource);
diag(`doSave(${versionId}) - exit - resulted in a save error: ${error.toString()}`,this.resource,newDate());
// Flag as error state in the model
this.inErrorMode=true;
...
...
@@ -1087,3 +1086,11 @@ class DefaultSaveErrorHandler implements ISaveErrorHandler {
this.notificationService.error(nls.localize('genericSaveError',"Failed to save '{0}': {1}",path.basename(model.getResource().fsPath),toErrorMessage(error,false)));