Commit 015040bab5d57432481966acfd9448d1adaf14c5
1 parent
8db99329e0
Exists in
master
RC jika axios gagal fixed
Showing 1 changed file with 3 additions and 1 deletions Side-by-side Diff
lib/hit.js
... | ... | @@ -91,7 +91,9 @@ module.exports = async (xid, task) => { |
91 | 91 | |
92 | 92 | if (e.response) response = e.response; |
93 | 93 | |
94 | - const rc = e.rc || axiosSafeFailed(e) || '68'; | |
94 | + const rc = e.rc | |
95 | + || (axiosSafeFailed(e) || '91') | |
96 | + || '68'; | |
95 | 97 | |
96 | 98 | report(xid, { |
97 | 99 | trx_id: task.trx_id, |