More logs
This commit is contained in:
parent
2bd6b8546f
commit
1c9d112d6c
|
@ -59,8 +59,10 @@ func (l *LinkCenter) DeleteLink(data []byte) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (l *LinkCenter) GetLink(data []byte) (*UserLink, error) {
|
func (l *LinkCenter) GetLink(data []byte) (*UserLink, error) {
|
||||||
|
l.debug()
|
||||||
log.Printf("LinkCenter : GetLink by : %s\n", string(data))
|
log.Printf("LinkCenter : GetLink by : %s\n", string(data))
|
||||||
val, found := l.Links[string(data)]
|
val, found := l.Links[string(data)]
|
||||||
|
log.Printf("VAL = %v ; F = %v", val, found)
|
||||||
if !found {
|
if !found {
|
||||||
return nil, ERROR_DONT_HAVE
|
return nil, ERROR_DONT_HAVE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user