Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Unified Diff: perf/go/skiaperf/main.go

Issue 777413002: Add new tests to presubmit, fix errors (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Run "go vet" once in the root dir Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: perf/go/skiaperf/main.go
diff --git a/perf/go/skiaperf/main.go b/perf/go/skiaperf/main.go
index b46c6fb9201022964b183e76fc13146b713a1059..2640e17251bf1e52e7cef0335d3ee3f3fe355ae9 100644
--- a/perf/go/skiaperf/main.go
+++ b/perf/go/skiaperf/main.go
@@ -469,7 +469,7 @@ func getTile(tileScale, tileNumber int) (*types.Tile, error) {
tile, err := nanoTileStore.Get(int(tileScale), int(tileNumber))
glog.Infoln("Time for tile load: ", time.Since(start).Nanoseconds())
if err != nil || tile == nil {
- return nil, fmt.Errorf("Unable to get tile from tilestore: ", err)
+ return nil, fmt.Errorf("Unable to get tile from tilestore: %s", err)
}
return tile, nil
}
« no previous file with comments | « perf/go/shortcut/shortcut.go ('k') | perf/go/trybot/trybot.go » ('j') | run_unittests » ('J')

Powered by Google App Engine
This is Rietveld 408576698