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

Issue 2945013002: grpc: Interceptor to catch panics and convert them to Internal errors. (Closed)

Created:
3 years, 6 months ago by Vadim Sh.
Modified:
3 years, 6 months ago
Reviewers:
iannucci
CC:
chromium-reviews, infra-reviews+luci-go_chromium.org, maruel+w_chromium.org, tandrii+luci-go_chromium.org
Target Ref:
refs/heads/master
Project:
luci-go
Visibility:
Public.

Description

grpc: Interceptor to catch panics and convert them to Internal errors. Also make sure monitoring interceptor doesn't report panics as codes.OK. R=iannucci@chromium.org BUG= Review-Url: https://codereview.chromium.org/2945013002 Committed: https://github.com/luci/luci-go/commit/985d9cf9b317c12615370ca4ebdebe44d3658a81

Patch Set 1 #

Patch Set 2 : oops #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -12 lines) Patch
M grpc/grpcmon/server.go View 1 2 chunks +21 lines, -10 lines 1 comment Download
A grpc/grpcutil/paniccatcher.go View 1 chunk +33 lines, -0 lines 0 comments Download
M tokenserver/appengine/frontend/main.go View 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
Vadim Sh.
PTAL https://codereview.chromium.org/2945013002/diff/20001/grpc/grpcmon/server.go File grpc/grpcmon/server.go (right): https://codereview.chromium.org/2945013002/diff/20001/grpc/grpcmon/server.go#newcode58 grpc/grpcmon/server.go:58: code = codes.Internal I think it used to ...
3 years, 6 months ago (2017-06-20 04:30:13 UTC) #1
iannucci
lgtm
3 years, 6 months ago (2017-06-20 22:40:33 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2945013002/20001
3 years, 6 months ago (2017-06-20 22:43:59 UTC) #4
commit-bot: I haz the power
3 years, 6 months ago (2017-06-20 22:58:00 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://github.com/luci/luci-go/commit/985d9cf9b317c12615370ca4ebdebe44d3658a81

Powered by Google App Engine
This is Rietveld 408576698