signal error when host lookup was not successful

This commit is contained in:
Philipp Böhm 2017-11-29 22:45:55 +01:00
parent b17528ab9a
commit 0acc5bb1e3
1 changed files with 1 additions and 1 deletions

View File

@ -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,
}) })
} }
}) })