appolo-agent
Advanced tools
Comparing version 6.0.13 to 6.0.14
@@ -37,2 +37,5 @@ "use strict"; | ||
dto.error = e.error.toString(); | ||
if (e.error.code && !dto.code) { | ||
dto.code = e.error.code; | ||
} | ||
} | ||
@@ -39,0 +42,0 @@ } |
@@ -52,3 +52,7 @@ import {IResponse} from "./response"; | ||
if (e.error) { | ||
dto.error = e.error.toString() | ||
dto.error = e.error.toString(); | ||
if ((e.error as HttpError).code && !dto.code) { | ||
dto.code = (e.error as HttpError).code | ||
} | ||
} | ||
@@ -55,0 +59,0 @@ } |
@@ -27,3 +27,3 @@ { | ||
"main": "./index.js", | ||
"version": "6.0.13", | ||
"version": "6.0.14", | ||
"license": "MIT", | ||
@@ -30,0 +30,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
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
80236
1333