From c88e3baee6d432849b0f60aa74b1e4a13aaf1ad2 Mon Sep 17 00:00:00 2001 From: declerambaul Date: Wed, 6 Jun 2012 17:01:57 +0200 Subject: [PATCH] Temporarily added test.json for debugging of new dataset-ui graph spec. --- lib/server/controllers/graph.co | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/lib/server/controllers/graph.co b/lib/server/controllers/graph.co index b399ad6..50a11bb 100644 --- a/lib/server/controllers/graph.co +++ b/lib/server/controllers/graph.co @@ -54,6 +54,7 @@ class GraphController extends Controller parser = yaml.load err, data <- fs.readFile file, 'utf8' + if 'ENOENT' is err?.code return cb null, {} if err -- 1.7.0.4