App logs fix
This commit is contained in:
@@ -26,6 +26,11 @@ public class LogsController : Controller
|
||||
throw new Exception("Google Sheets API not initialized");
|
||||
}
|
||||
|
||||
// until we move logs into firebase disable save for info and warnings
|
||||
if (entry.Type == LogEntryType.Info || entry.Type == LogEntryType.Warning) {
|
||||
return;
|
||||
}
|
||||
|
||||
var type = entry.LogType switch
|
||||
{
|
||||
LogType.Import => "Import",
|
||||
|
||||
@@ -73,7 +73,7 @@ public class T3SingleSourceProcessor(
|
||||
|
||||
if (!isNew && !dataSources.Any(x => x.CreatedAt > processedLayer.ModifiedAt))
|
||||
{
|
||||
throw new Exception("No new data to process");
|
||||
return;
|
||||
}
|
||||
|
||||
var allRecords = dataSources.SelectMany(x => x.Records!).ToList();
|
||||
|
||||
Reference in New Issue
Block a user