]> Cypherpunks repositories - gostls13.git/commit
cmd/trace: fix a javascript bug in handling import error
authorHana Kim <hakim@google.com>
Thu, 19 Oct 2017 21:47:07 +0000 (17:47 -0400)
committerHyang-Ah Hana Kim <hyangah@gmail.com>
Fri, 20 Oct 2017 16:34:50 +0000 (16:34 +0000)
commit2f40dc79e5febf2c27303285ef853a5dd064f777
treead2d6b89dfa04500a62a6904ad7c678a927bbc37
parent916ad62d5182bf2ecc006edf5d7fac874f4e5fa7
cmd/trace: fix a javascript bug in handling import error

When traceviewer encounters a failure of json trace import
due to data error, onImportFail tried to access an error variable
which was not yet defined.

Change-Id: I431be03f179aafacaf1fd3c62a6337e8b5bd18fb
Reviewed-on: https://go-review.googlesource.com/71970
Reviewed-by: Austin Clements <austin@google.com>
src/cmd/trace/trace.go