PCT-562

Last build
ALL TESTS PASS
Finished: SUCCESS

What if err is not nil? Also, typical Go pattern is:
```go
err := foo()
if err != nil {
   // stop/return early
}
// successful code flow
```
I.e. successful code flow is top to bottom.