Commit d7d0b90f authored by Edward Lesmes's avatar Edward Lesmes Committed by LUCI CQ

git-drover: Fix error printing.

Exceptions have no '.message' field.

Bug: 1135320
Change-Id: I30aba548895f1863c9cf65bf3e81a370405c32fa
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2451375Reviewed-by: 's avatarJosip Sokcevic <sokcevic@google.com>
Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org>
parent 80d095c4
......@@ -461,7 +461,7 @@ def main():
options.parent_checkout, options.dry_run,
options.verbose)
except Error as e:
print('Error:', e.message)
print('Error:', e)
sys.exit(128)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment