Sorry to bring up an old thread, but this is driving me nuts.
log.debug(“request”, context.request);
Running this against a “print” type gives an error every time!
“Cannot read property \”getMethod\” from undefined”
Did you ever figure out how to get the request to play nice?