Log JSON when receiving a "Create" activity if debug flag is on
This commit is contained in:
parent
5bbc0fca4c
commit
7eb1d2e2b2
1 changed files with 2 additions and 0 deletions
2
http.go
2
http.go
|
@ -272,6 +272,8 @@ func Serve(actors map[string]Actor) {
|
|||
log.Error("No such actor: " + mux.Vars(r)["actor"])
|
||||
return
|
||||
}
|
||||
log.Info("Received the following activity from: " + r.UserAgent())
|
||||
PrettyPrintJSON(b)
|
||||
actor.OnReceiveContent(activity)
|
||||
default:
|
||||
|
||||
|
|
Loading…
Reference in a new issue