Merge pull request #127 from piotrekmonko/fix_intermittent_errors
fixes intermittent error reporting
This commit is contained in:
commit
baffaa4b6a
@ -210,10 +210,8 @@ func (e *GenericTemplateBasedEncoder) Files() []*plugin_go.CodeGeneratorResponse
|
||||
case f := <-resultChan:
|
||||
files = append(files, f)
|
||||
case err = <-errChan:
|
||||
panic(err)
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
return files
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user