mirror of
https://github.com/simon987/task_tracker.git
synced 2025-12-14 07:19:02 +00:00
Some error handling work
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user