Daniel Oliveira created BEAM-7393: ------------------------------------- Summary: Misc. improvements to error formatting. Key: BEAM-7393 URL: https://issues.apache.org/jira/browse/BEAM-7393 Project: Beam Issue Type: Sub-task Components: sdk-go Reporter: Daniel Oliveira Assignee: Daniel Oliveira
Just need a second pass on error formatting. Two things are bothering me: # Default top-level messages are a bit too repetitive and obtuse. Right now if there's any kind of context or wrapping the top-level message is just the base error and this is usually confusing. # When an error is wrapped you have a line for "Caused by:" and it can be hard to read. Example: {noformat} error number 4 caused by: encoding struct proto.marshalFieldInfo: error number 3 caused by: error number 2 caused by: error number 1{noformat} Gotta make this example easier to read. -- This message was sent by Atlassian JIRA (v7.6.3#76005)