Update
This commit is contained in:
1 parent
09b6834c71
commit
f82ce9eff5
1 file changed
+1
-1
@@ -89,7 +89,7 @@ const reportIp = async ({ srcIp, dpt = 'N/A', proto = 'N/A', id, timestamp }, ca
|
||||
log(`Queued ${srcIp} for bulk report due to rate limit`, 1);
|
||||
}
|
||||
} else {
|
||||
log(`Failed to report ${srcIp} [${dpt}/${proto}]; ${err.response?.data?.errors ? JSON.stringify(err.response.data.errors) : err.message}`, status === 429 ? 2 : 3);
|
||||
log(`Failed to report ${srcIp} [${dpt}/${proto}]; ${err.response?.data?.errors ? JSON.stringify(err.response.data.errors) : err.message}`, status === 429 ? 0 : 3);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user