[ 
https://issues.apache.org/jira/browse/BEAM-8173?focusedWorklogId=434886&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-434886
 ]

ASF GitHub Bot logged work on BEAM-8173:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 19/May/20 10:51
            Start Date: 19/May/20 10:51
    Worklog Time Spent: 10m 
      Work Description: stale[bot] commented on pull request #11137:
URL: https://github.com/apache/beam/pull/11137#issuecomment-630742739


   This pull request has been marked as stale due to 60 days of inactivity. It 
will be closed in 1 week if no further activity occurs. If you think that’s 
incorrect or this pull request requires a review, please simply write any 
comment. If closed, you can revive the PR at any time and @mention a reviewer 
or discuss it on the [email protected] list. Thank you for your 
contributions.
   


----------------------------------------------------------------
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]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 434886)
    Time Spent: 3h 50m  (was: 3h 40m)

> Filesystems.matchSingleFileSpec throws away the actual failure exception
> ------------------------------------------------------------------------
>
>                 Key: BEAM-8173
>                 URL: https://issues.apache.org/jira/browse/BEAM-8173
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Kenneth Knowles
>            Assignee: Piotr Szuberski
>            Priority: P2
>              Labels: easyfix, starter
>          Time Spent: 3h 50m
>  Remaining Estimate: 0h
>
> At [1] the result of a non-OK match causes an exception to be thrown. But the 
> exception does not include the actual cause of the failure, so it cannot be 
> efficiently debugged. It appears that the design of MatchResult is that it 
> should call metadata() without bothering to check status, so that the 
> underlying exception can be re-raised and caught and put in the chain of 
> causes, as it should be.
> [1] 
> https://github.com/apache/beam/blob/c2f0d282337f3ae0196a7717712396a5a41fdde1/sdks/java/core/src/main/java/org/apache/beam/sdk/io/FileSystems.java#L190



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to