apollo-error
Advanced tools
Comparing version 1.0.1 to 1.0.2
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
function formatError(err) { | ||
if (err.originalError.data) { | ||
if (err.originalError && err.originalError.data) { | ||
err.data = err.originalError.data; | ||
@@ -6,0 +6,0 @@ } |
{ | ||
"name": "apollo-error", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Custom error handling for Apollo GraphQL server", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "tsc" | ||
}, | ||
@@ -9,0 +10,0 @@ "author": "Jaibatrik Dutta <jaibatrik@gmail.com>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9006
10