Fixes
This commit is contained in:
1 parent
5425d1ff03
commit
09d0a54db3
1 file changed
+1
-1
@@ -20,7 +20,7 @@ const reportToAbuseIPDb = async (logData, categories, comment) => {
|
||||
log(0, `Successfully reported ${logData.srcIp} (${logData.dpt}/${logData.proto}); Categories ${categories}; Abuse: ${data.data.abuseConfidenceScore}%`);
|
||||
return true;
|
||||
} catch (err) {
|
||||
log(2, `${err.message}\n${JSON.stringify(err.response.data?.errors || err.response.data)}`);
|
||||
log(2, `Failed to report ${logData.srcIp} (${logData.dpt}/${logData.proto}); ${err.message}\n${JSON.stringify(err.response.data?.errors || err.response.data)}`);
|
||||
return false;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user