coding-generic
Advanced tools
Comparing version 1.2.11 to 1.2.12
@@ -17,3 +17,3 @@ const axios = require('axios'); | ||
const responseFailed = error => { | ||
const url = error.config?.url | ||
const url = error && error.config && error.config.url | ||
console.error('网络请求错误', `(${url})`); | ||
@@ -20,0 +20,0 @@ logger.error(`网络请求错误 (${url})`); |
{ | ||
"name": "coding-generic", | ||
"version": "1.2.11", | ||
"version": "1.2.12", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
21206