Skip to content

Commit

Permalink
update changelog and fix bug in http input where result is not access…
Browse files Browse the repository at this point in the history
…ible
  • Loading branch information
djkhl committed Aug 27, 2024
1 parent 16257ca commit aeae2fb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
### Improvements
### Bugfix

* fixes unbound local error in http input connector

## 13.1.1
### Improvements

Expand Down
2 changes: 2 additions & 0 deletions logprep/framework/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,8 @@ def process_pipeline(self) -> PipelineResult:
self.logger.error(",".join((str(error) for error in result.errors)))
self._store_failed_event(result.errors, result.event_received, event)
return
else:
return PipelineResult(results=[], event=event, pipeline=[], event_received=event)
if self._output:
if self._pipeline:
result_data = [res.data for res in result if res.data]
Expand Down

0 comments on commit aeae2fb

Please sign in to comment.