Piscal Queue working more resilient to error

This commit is contained in:
2016-04-18 10:44:36 -04:00
parent 6623aa48ea
commit ca1a235c1d
21 changed files with 418 additions and 176 deletions
+3
View File
@@ -3,6 +3,7 @@ using System.Linq;
using LeafWeb.Core.Entities;
using LeafWeb.Core.Parsers;
using LeafWeb.Core.Utility;
using NLog;
namespace LeafWeb.Core.DAL
{
@@ -12,6 +13,8 @@ namespace LeafWeb.Core.DAL
protected override void Seed(LeafWebContext context)
{
LogManager.GetCurrentClassLogger().Debug("Seed");
// get fluxnet sites from file
var fileInfo = FileUtility.GetContentFile(ContentDirectory, "fluxnet_site_list_all_October2015_with_joins_corrected.csv", true);
var fluxnetSiteCsvParser = new FluxnetSiteCsvParser(fileInfo);