signal error when host lookup was not successful
This commit is contained in:
parent
b17528ab9a
commit
0acc5bb1e3
|
@ -140,7 +140,7 @@ func (w *WebService) Run() {
|
||||||
} else {
|
} else {
|
||||||
log.Printf("Error during lookup: %v", err)
|
log.Printf("Error during lookup: %v", err)
|
||||||
c.JSON(200, gin.H{
|
c.JSON(200, gin.H{
|
||||||
"result": []string{},
|
"result": false,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue