Skip to content

Commit b8808ac

Browse files
committed
apps: log viewmode in the returning app URL message
1 parent 4830814 commit b8808ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/http/services/appprovider/appprovider.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ func (s *svc) handleOpen(w http.ResponseWriter, r *http.Request) {
435435
}
436436

437437
log := appctx.GetLogger(ctx)
438-
log.Info().Interface("resource", fileRef).Str("url", openRes.AppUrl.AppUrl).Str("method", openRes.AppUrl.Method).Interface("target", openRes.AppUrl.Target).Msg("returning app URL for file")
438+
log.Info().Interface("resource", fileRef).Str("url", openRes.AppUrl.AppUrl).Str("method", openRes.AppUrl.Method).Interface("viewMode", viewMode).Msg("returning app URL for file")
439439

440440
w.Header().Set("Content-Type", "application/json")
441441
if _, err = w.Write(js); err != nil {

0 commit comments

Comments
 (0)