aurora-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Chu-Carroll" <>
Subject Re: Review Request 26881: Improve error messages in client commands.
Date Mon, 20 Oct 2014 19:36:27 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Oct. 20, 2014, 3:36 p.m.)

Review request for Aurora, Bill Farner and Zameer Manji.


Make error messages more concise.

Bugs: aurora-771

Repository: aurora


When a client command fails due to an error in an API call,
it used to log whatever messages came back in the reply from the server,
and then generate a message saying "... see log for details".

This change improves that behavior. Now, an error message is generated
saying something like "Command failed due to error reported by server",
followed by a group of indented lines containing the messages from the
server. For example, a new error message would look like:

	Server reported error restarting job west/bozo/test/hello
	    Job 'west/bozo/test/hello' not found.

Diffs (updated)

  examples/vagrant/ a27636655d722ca79f66b377fd847954d52e8feb 
  src/main/python/apache/aurora/client/cli/ 4e94a4e3017f3b2ace38d6d8ce68c3c778c8cd0e

  src/main/python/apache/aurora/client/cli/ 061b1d4f768f299d6db72c66f6bb75fdb68bc0d7

  src/main/python/apache/aurora/client/cli/ 0277cbed4b7eb927d6e5823b4b41d90b366f81d0

  src/main/python/apache/aurora/client/cli/ 137aab1285a9732a3b65aee65948e836df3c7cac

  src/main/python/apache/aurora/client/cli/ 8a02b8a8b0bb531248949213da97cbc1a380bf64

  src/test/python/apache/aurora/client/cli/ 427f7ce4476b48d407b8bd2bf2c54c52e6e63079

  src/test/python/apache/aurora/client/cli/ bac4485fa105848d96e2505c4a2ea2eee45dc968

  src/test/python/apache/aurora/client/cli/ a5f94484b30ecb8417116db9ce12c015957357c5

  src/test/python/apache/aurora/client/cli/ 6775c389cb1a0b80dd17fe179e8b98d4e9db0332

  src/test/sh/org/apache/aurora/e2e/ 8f4d2b01c9fa5a6ec9e8885a2d4fa0e9c3abb8a1




Mark Chu-Carroll

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message