Scraping Fixes

- Fixed bugs with scraping graphql endpoint
- Added traceID to logging for jobs
This commit is contained in:
Wyatt Johnson
2018-03-07 15:30:34 -07:00
parent 98facd1019
commit 435067f619
7 changed files with 27 additions and 30 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ class Context {
this.id = ctx.id || uuid.v4();
// Attach a logger or create one.
this.log = ctx.log || createLogger('context', this.id);
this.log = ctx.log || createLogger('graph:context', this.id);
// Load the current logged in user to `user`, otherwise this will be null.
this.user = get(ctx, 'user');