Piscal Queue working more resilient to error
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user