Y
Hacker News
new
|
ask
|
show
|
jobs
by
paxy
2669 days ago
Or you could just pass the function an optional tracing ID as an argument.
1 comments
dvlsg
2669 days ago
Or just keep logging / requests out of the pure functions, and leave it to the context around them. You can always have the pure functions return a `Result` or `Either` type, if you need information about a failure to be logged.
link