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.trace(`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 - resulted in a save error: ${error.toString()}`,this.resource,newDate());
this.logService.error(`doSave(${versionId}) - exit - resulted in a save error: ${error.toString()}`,this.resource);
// Flag as error state in the model
// Flag as error state in the model
this.inErrorMode=true;
this.inErrorMode=true;
...
@@ -1086,11 +1087,3 @@ class DefaultSaveErrorHandler implements ISaveErrorHandler {
...
@@ -1086,11 +1087,3 @@ class DefaultSaveErrorHandler implements ISaveErrorHandler {
this.notificationService.error(nls.localize('genericSaveError',"Failed to save '{0}': {1}",path.basename(model.getResource().fsPath),toErrorMessage(error,false)));
this.notificationService.error(nls.localize('genericSaveError',"Failed to save '{0}': {1}",path.basename(model.getResource().fsPath),toErrorMessage(error,false)));