You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/configure.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -43,14 +43,14 @@ function configure ({
43
43
log =configureLog,
44
44
respondWithErrors =configureRespondWithErrors
45
45
}){
46
-
log.debug('SERVERLESS_EXPRESS:PROXY',{
46
+
log.debug('SERVERLESS_EXPRESS:PROXY',()=>({
47
47
event: util.inspect(event,{depth: null}),
48
48
context: util.inspect(context,{depth: null}),
49
49
resolutionMode,
50
50
eventSourceName,
51
51
binarySettings,
52
52
respondWithErrors
53
-
})
53
+
}))
54
54
55
55
if(binaryMimeTypes){
56
56
console.warn('[DEPRECATION NOTICE] { binaryMimeTypes: [] } is deprecated. base64 encoding is now automatically determined based on response content-type and content-encoding. If you need to manually set binary content types, instead, use { binarySettings: { contentTypes: [] } }')
0 commit comments