Open nowaysgit opened 11 months ago
Heyo!
Did you install the CHTTP library? There are steps here https://github.com/BadgerCode/tttdamagelogs/wiki/Discord-Notifications#1-install-chttp
The DiscordWebhook config is disabled and I don't use Discord with Damagelogs but I also have this issue.
Heyo! Sorry for the delay.
The error itself is harmless. The damage log code attempts to find the CHTTP library. If the library is not installed, the code continues fine without it.
The error is not supposed to be logged to console, but it seems to be logged because of a bug in GMod. https://github.com/Facepunch/garrysmod-issues/issues/2498
print("Before PCALL")
local use_chttp = pcall(require, "chttp")
if use_chttp then
print("PCALL success")
HTTP = CHTTP
end
print("After PCALL")