@tinkerstack/graphql-annotation 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -369,6 +369,7 @@ var GraphQLAnnotatedSchemaLoader = class {
369
369
  return loaded2;
370
370
  } catch (err) {
371
371
  this._logger.error(`Unable to load schema for ${loadId}`);
372
+ this._logger.error(err);
372
373
  throw err;
373
374
  }
374
375
  });
@@ -395,6 +396,7 @@ var GraphQLAnnotatedSchemaLoader = class {
395
396
  return res.data[ANNOTATION_QUERY_NAME];
396
397
  } catch (err) {
397
398
  this._logger.warn(`Failed to load annotations at ${url}, assuming empty`);
399
+ this._logger.warn(err);
398
400
  return {};
399
401
  }
400
402
  }
package/dist/index.mjs CHANGED
@@ -340,6 +340,7 @@ var GraphQLAnnotatedSchemaLoader = class {
340
340
  return loaded2;
341
341
  } catch (err) {
342
342
  this._logger.error(`Unable to load schema for ${loadId}`);
343
+ this._logger.error(err);
343
344
  throw err;
344
345
  }
345
346
  });
@@ -366,6 +367,7 @@ var GraphQLAnnotatedSchemaLoader = class {
366
367
  return res.data[ANNOTATION_QUERY_NAME];
367
368
  } catch (err) {
368
369
  this._logger.warn(`Failed to load annotations at ${url}, assuming empty`);
370
+ this._logger.warn(err);
369
371
  return {};
370
372
  }
371
373
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinkerstack/graphql-annotation",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "Better type-safe-able graphql directives",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -140,6 +140,7 @@ export class GraphQLAnnotatedSchemaLoader {
140
140
  return loaded;
141
141
  } catch (err) {
142
142
  this._logger.error(`Unable to load schema for ${loadId}`);
143
+ this._logger.error(err);
143
144
  throw err;
144
145
  }
145
146
  });
@@ -184,6 +185,7 @@ export class GraphQLAnnotatedSchemaLoader {
184
185
  return res.data[ANNOTATION_QUERY_NAME];
185
186
  } catch (err) {
186
187
  this._logger.warn(`Failed to load annotations at ${url}, assuming empty`);
188
+ this._logger.warn(err);
187
189
  return {} as GraphQLAnnotationMeta;
188
190
  }
189
191
  }