aboutsummaryrefslogtreecommitdiff
path: root/cgi/servers.go
diff options
context:
space:
mode:
Diffstat (limited to 'cgi/servers.go')
-rw-r--r--cgi/servers.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/cgi/servers.go b/cgi/servers.go
index 06cd72f..9d08b6c 100644
--- a/cgi/servers.go
+++ b/cgi/servers.go
@@ -115,7 +115,9 @@ func processTick(h config.Handler, output []byte, persister *models.Persister, l
if len(extractedContent) != 0 {
log.Debugf("extracted content '%s'", extractedContent)
outboxItem := models.CreateOutboxItem(h, []byte(extractedContent))
- err = persister.Store(outboxItem)
+ err = persister.StoreWithCallback(outboxItem, func() {
+ log.With("handler", h.Name).Debug("callback for save")
+ })
if err != nil {
return err
}