Add more logs
This commit is contained in:
parent
2904303755
commit
fed848e403
|
@ -57,6 +57,7 @@ func (t *TlepCenter) DeleteIfHaveOne(id uint16) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (t *TlepCenter) GetTLEP(id uint16) (*tlep.TLEP, error) {
|
func (t *TlepCenter) GetTLEP(id uint16) (*tlep.TLEP, error) {
|
||||||
|
log.Printf("Getting tlep by id = %d\n", id)
|
||||||
name, have := t.TLEPs[id]
|
name, have := t.TLEPs[id]
|
||||||
if !have {
|
if !have {
|
||||||
return nil, ERROR_DONT_HAVE
|
return nil, ERROR_DONT_HAVE
|
||||||
|
|
Loading…
Reference in New Issue
Block a user