[
https://issues.apache.org/jira/browse/DRILL-7632?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17055310#comment-17055310
]
ASF GitHub Bot commented on DRILL-7632:
---------------------------------------
paul-rogers commented on pull request #2017: DRILL-7632: Improve user exception
formatting
URL: https://github.com/apache/drill/pull/2017
# [DRILL-7632](https://issues.apache.org/jira/browse/DRILL-7632): Improve
user exception formatting
## Description
Modifies user exception to insert a colon between the "context" title and
value. Old style:
```
My Context value
```
Revised:
```
My Context: value
```
Some code already added their own colons. So, the fix removes any existing
colon before adding its own.
## Documentation
If the documentation shows exception output, and those exceptions contain
context, then the format of that exception will change and such examples should
be updated.
## Testing
Reran the full unit tests.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Improve user exception formatting
> ---------------------------------
>
> Key: DRILL-7632
> URL: https://issues.apache.org/jira/browse/DRILL-7632
> Project: Apache Drill
> Issue Type: Improvement
> Affects Versions: 1.17.0
> Reporter: Paul Rogers
> Assignee: Paul Rogers
> Priority: Minor
> Fix For: 1.18.0
>
>
> Modify the user exception to insert a colon between the "context" title and
> value. Old style:
> {noformat}
> My Context value
> {noformat}
> Revised:
> {noformat}
> My Context: value
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)