Skip to content

Commit

Permalink
Merge branch 'main' into 30-prometheus-exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
didil committed Jun 24, 2024
2 parents e843a32 + d078d8b commit 4dbf79f
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{".":"0.1.6"}
{".":"0.1.7"}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.1.7](https://github.com/didil/inhooks/compare/v0.1.6...v0.1.7) (2023-08-29)


### Bug Fixes

* log processing error ([#46](https://github.com/didil/inhooks/issues/46)) ([971fcfe](https://github.com/didil/inhooks/commit/971fcfe1b231918ca7e561a46f93bf0b68686cef))

## [0.1.6](https://github.com/didil/inhooks/compare/v0.1.5...v0.1.6) (2023-08-09)


Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Inhooks listens to HTTP webhooks and saves the messages to Redis. A processing m
- Fast, concurrent processing
- Supports delayed processing
- Supports retries on failure with configurable number of attempts, interval and constant or exponential backoff
- Supports different HTTP payloads types: JSON, x-www-form-urlencoded, multipart/form-data
- ... more features planned

## Usage
Expand Down
3 changes: 1 addition & 2 deletions pkg/supervisor/ready.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,8 @@ func (s *Supervisor) startReadyProcessor(ctx context.Context, f *models.Flow, si

processingErr := s.messageProcessor.Process(ctx, sink, m)
if processingErr != nil {
logger.Info("message processing failed")
logger.Info("message processing failed", zap.Error(processingErr))
messageProcessingFailureCounter.Inc()

queuedInfo, err := s.processingResultsSvc.HandleFailed(ctx, sink, m, processingErr)
if err != nil {
logger.Error("could not handle failed processing", zap.Error(err))
Expand Down

0 comments on commit 4dbf79f

Please sign in to comment.