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

Issue 6461009: Fixed chromite shell to report python errors (Closed)

Created:
9 years, 10 months ago by sjg
Modified:
9 years, 7 months ago
CC:
chromium-os-reviews_chromium.org
Visibility:
Public.

Description

Fixed chromite shell to report python errors Errors in imported modules (where they are found but are broken) were being reported as import errors. This fixes that behavior. BUG=chromium-os:11785 TEST=try outside environment and make sure it detects error try with a python error in main.py and check that it raises properly Change-Id: Ic8a9fe75399832ed7c2faeb39360d5f9dc45e944 Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=1c6020f

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fixed nit and added comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -0 lines) Patch
M bin/chromite View 1 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
sjg
I have split this CL off as suggested by Doug
9 years, 10 months ago (2011-02-09 00:55:08 UTC) #1
diandersAtChromium
Simon: thanks for splitting out! :) I'm still not understanding why the [-10:] is important. ...
9 years, 10 months ago (2011-02-09 19:46:01 UTC) #2
sjg
Hi, If I put an error in operation.py and run chromite, printing out the exceptions ...
9 years, 10 months ago (2011-02-09 21:31:46 UTC) #3
diandersAtChromium
Ah, makes sense. Didn't realize that we were getting a slightly different error when in ...
9 years, 10 months ago (2011-02-09 22:14:34 UTC) #4
sjg
PTAL to check - thanks, Simon
9 years, 10 months ago (2011-02-09 22:23:08 UTC) #5
diandersAtChromium
9 years, 10 months ago (2011-02-10 00:31:21 UTC) #6
LGTM!

Powered by Google App Engine
This is Rietveld 408576698