[ 
https://issues.apache.org/jira/browse/BEAM-7393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Oliveira updated BEAM-7393:
----------------------------------
    Description: 
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:
    some context:
error number 3
caused by:
error number 2
caused by:
error number 1{noformat}
Gotta make this example easier to read.

  was:
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.


> 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
>            Priority: Minor
>
> 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:
>     some context:
> 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)

Reply via email to