Chromium Code Reviews

Issue 59223005: Properly report pub.dartlang.org API errors. (Closed)

Created:
7 years, 1 month ago by nweiz
Modified:
7 years, 1 month ago
Reviewers:
Bob Nystrom
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Properly report pub.dartlang.org API errors. There were two issues here: first, there was leftover debugging code that was printing stack traces for all unsuccessful HTTP responses. Second, JSON-encoded errors from the server were considered "unexpected errors", so their stack traces were printed along with some scary text. This CL fixes both issues. R=rnystrom@google.com Committed: https://code.google.com/p/dart/source/detail?r=30077

Patch Set 1 #

Unified diffs Side-by-side diffs Stats (+1 line, -3 lines)
M sdk/lib/_internal/pub/lib/src/http.dart View 2 chunks +1 line, -3 lines 0 comments

Messages

Total messages: 3 (0 generated)
nweiz
7 years, 1 month ago (2013-11-06 03:15:26 UTC) #1
Bob Nystrom
LGTM!
7 years, 1 month ago (2013-11-06 20:13:57 UTC) #2
nweiz
7 years, 1 month ago (2013-11-07 22:18:01 UTC) #3
Message was sent while issue was closed.
Committed patchset #1 manually as r30077 (presubmit successful).

Powered by Google App Engine