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

Issue 710093005: appengine: throw AssetErrors directly (instead of via new Future.error (Closed)

Created:
6 years, 1 month ago by kevmoo
Modified:
6 years, 1 month ago
CC:
prometheus-dart-reviews_google.com, reviews_dartlang.org
Base URL:
https://github.com/dart-lang/appengine.git@master
Visibility:
Public.

Description

appengine: throw AssetErrors directly (instead of via new Future.error Future closures wrap these correctly Also: updated code review settings R=kustermann@google.com Committed: https://github.com/dart-lang/appengine/commit/4c262276686571a4f035c6010974a933d9585eb5

Patch Set 1 #

Total comments: 5

Patch Set 2 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -9 lines) Patch
M codereview.settings View 1 1 chunk +2 lines, -2 lines 0 comments Download
M lib/src/server/assets.dart View 1 4 chunks +5 lines, -7 lines 0 comments Download

Messages

Total messages: 7 (1 generated)
kevmoo
6 years, 1 month ago (2014-11-10 21:56:53 UTC) #2
kevmoo
https://codereview.chromium.org/710093005/diff/1/lib/src/server/assets.dart File lib/src/server/assets.dart (right): https://codereview.chromium.org/710093005/diff/1/lib/src/server/assets.dart#newcode50 lib/src/server/assets.dart:50: print("Unable to connect to 'pub serve' for '${request.uri}': $e"); ...
6 years, 1 month ago (2014-11-10 21:57:56 UTC) #3
kustermann
Could you tell me what benefit you get by throwing instead of constructing an error ...
6 years, 1 month ago (2014-11-11 09:53:13 UTC) #4
kevmoo
PTAL Reason for this change: it's cleaner and more canonical. It also ensures that the ...
6 years, 1 month ago (2014-11-11 15:15:52 UTC) #5
kustermann
lgtm
6 years, 1 month ago (2014-11-11 17:05:51 UTC) #6
kevmoo
6 years, 1 month ago (2014-11-11 19:02:16 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
4c262276686571a4f035c6010974a933d9585eb5 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698