Add more logs

This commit is contained in:
qowevisa 2024-06-12 22:45:03 +03:00
parent 2904303755
commit fed848e403

View File

@ -57,6 +57,7 @@ func (t *TlepCenter) DeleteIfHaveOne(id uint16) {
}
func (t *TlepCenter) GetTLEP(id uint16) (*tlep.TLEP, error) {
log.Printf("Getting tlep by id = %d\n", id)
name, have := t.TLEPs[id]
if !have {
return nil, ERROR_DONT_HAVE