From 483faf1a1b6ed595580a2af86d901d3f33013353 Mon Sep 17 00:00:00 2001 From: Andy Clement Date: Fri, 1 Jun 2018 12:59:54 -0700 Subject: [PATCH] Continue to run validation even if graph-to-text conversion fails --- src/lib/src/editor/editor.component.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/lib/src/editor/editor.component.ts b/src/lib/src/editor/editor.component.ts index 03b2c70..2fce452 100644 --- a/src/lib/src/editor/editor.component.ts +++ b/src/lib/src/editor/editor.component.ts @@ -868,6 +868,12 @@ export class EditorComponent implements OnInit, OnDestroy { } this.graphToTextConversionCompleted.next(); return this.validateContent(); + }) + .catch(error => { + // Validation may reveal why the graph couldn't be + // converted so let it run + this.graphToTextConversionCompleted.next(); + return this.validateContent(); }); } else { this.graphToTextConversionCompleted.next();