Skip to content

Commit

Permalink
feat/SSM-35: added additional logging
Browse files Browse the repository at this point in the history
  • Loading branch information
j1mb0b committed Feb 3, 2025
1 parent aceb2ac commit beca7ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion service-app/internal/api/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ func (c *IndexController) IngestHandler(w http.ResponseWriter, r *http.Request)
return
}
// Queue each document for further processing
c.logger.Info("Queueing documents for processing", nil)
c.logger.Info("Queueing documents for processing", map[string]interface{}{
"Header": parsedBaseXml.Header,
})

for i := range parsedBaseXml.Body.Documents {
doc := &parsedBaseXml.Body.Documents[i]
Expand Down

0 comments on commit beca7ea

Please sign in to comment.