This repository has been archived by the owner on May 3, 2024. It is now read-only.
configureRequestLog example code has a bug #445
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
stale-issue
🐞 Bug Report
Describe the bug
In this example code, the
log
parameter is defaulted to an empty object, but then line 28 referencesclonedLog.request.metaData
which is not defined.one-app/prod-sample/sample-modules/frank-lloyd-root/0.0.0/src/config.js
Lines 24 to 28 in 7b9858c
To Reproduce
If you write a test for this code and do not not pass the
log
variable, then you will get the following error:Expected behavior
Example code should be valid. Possible solutions:
log
.log.request
not being defined.log
.The text was updated successfully, but these errors were encountered: