go: Improver error reporting