This commit is contained in:
@@ -169,7 +169,7 @@ namespace AyaNova.Biz
|
|||||||
if (ffcount > 0)
|
if (ffcount > 0)
|
||||||
{
|
{
|
||||||
string msg = string.Empty;
|
string msg = string.Empty;
|
||||||
if (ffcount > 25)
|
if (ffcount < 25)
|
||||||
{
|
{
|
||||||
//we can list them all
|
//we can list them all
|
||||||
msg = $"{ffcount} files found in attachments folder that don't appear to belong there:";
|
msg = $"{ffcount} files found in attachments folder that don't appear to belong there:";
|
||||||
@@ -181,10 +181,11 @@ namespace AyaNova.Biz
|
|||||||
|
|
||||||
log.LogDebug(msg);
|
log.LogDebug(msg);
|
||||||
await JobsBiz.LogJobAsync(job.GId, msg);
|
await JobsBiz.LogJobAsync(job.GId, msg);
|
||||||
//TODO: notify OPSNOTIFY
|
//TODO: notify OPSNOTIFY
|
||||||
var outList = ForeignFilesNotLikelyAttachmentsFoundInAttachmentsFolder.Take(25).ToList();
|
var outList = ForeignFilesNotLikelyAttachmentsFoundInAttachmentsFolder.Take(25).ToList();
|
||||||
foreach (string s in outList)
|
foreach (string s in outList)
|
||||||
{ log.LogDebug(s);
|
{
|
||||||
|
log.LogDebug(s);
|
||||||
await JobsBiz.LogJobAsync(job.GId, s);
|
await JobsBiz.LogJobAsync(job.GId, s);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user