Some error handling work

This commit is contained in:
2020-01-03 14:13:39 -05:00
parent 0ea6e18fb9
commit 15c4090a94
13 changed files with 1615 additions and 2850 deletions

View File

@@ -139,8 +139,9 @@ func TestGetLogs(t *testing.T) {
t.Error()
}
if len(*r.Content.Logs) <= 0 {
if r.Content.Logs == nil || len(*r.Content.Logs) <= 0 {
t.Error()
return
}
debugFound := false