q-koa 13.0.4 → 13.0.5
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.
|
@@ -38,11 +38,12 @@ module.exports = class Singleton {
|
|
|
38
38
|
throw new Error(result.msg)
|
|
39
39
|
}
|
|
40
40
|
} catch (e) {
|
|
41
|
+
const message = ` ${no} ${e.message || '物流服务暂不可用'}`
|
|
41
42
|
push({
|
|
42
43
|
appName: 'express',
|
|
43
|
-
message
|
|
44
|
+
message,
|
|
44
45
|
})
|
|
45
|
-
throw new Error(
|
|
46
|
+
throw new Error(message)
|
|
46
47
|
}
|
|
47
48
|
}
|
|
48
49
|
|