More logs

This commit is contained in:
qowevisa 2024-06-08 22:09:21 +03:00
parent 2bd6b8546f
commit 1c9d112d6c

View File

@ -59,8 +59,10 @@ func (l *LinkCenter) DeleteLink(data []byte) error {
}
func (l *LinkCenter) GetLink(data []byte) (*UserLink, error) {
l.debug()
log.Printf("LinkCenter : GetLink by : %s\n", string(data))
val, found := l.Links[string(data)]
log.Printf("VAL = %v ; F = %v", val, found)
if !found {
return nil, ERROR_DONT_HAVE
}