Lower log level when harvest time entry still running during import

that is not exactly an unexpected situation, no need to raise
awareness to it probably
This commit is contained in:
Lance Edgar 2022-02-22 12:02:58 -06:00
parent c6332be453
commit 0ee4d52145

View file

@ -224,7 +224,7 @@ class HarvestTimeEntryImporter(FromHarvest, rattail_harvest_importing.model.Harv
return return
if entry['is_running']: if entry['is_running']:
log.warning("Harvest time entry is still running: %s", entry) log.debug("Harvest time entry is still running: %s", entry)
return return
data['user_id'] = entry['user']['id'] data['user_id'] = entry['user']['id']