This commit is contained in:
Sefinek committed 2025-04-27 03:35:12 +02:00
1 parent 09b6834c71
commit f82ce9eff5
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}
}
};