[
https://issues.apache.org/jira/browse/PROTON-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jiri Daněk updated PROTON-2223:
-------------------------------
Affects Version/s: proton-c-0.31.0
> Duplicated branch in ruby/lib/util/error_handler.rb
> ---------------------------------------------------
>
> Key: PROTON-2223
> URL: https://issues.apache.org/jira/browse/PROTON-2223
> Project: Qpid Proton
> Issue Type: Bug
> Components: ruby-binding
> Affects Versions: proton-c-0.31.0
> Reporter: Jiri Daněk
> Assignee: Alan Conway
> Priority: Major
>
> {code:ruby}
> raise Qpid::Proton::StateError.new(self.error)
> when Qpid::Proton::Error::TIMEOUT
> raise Qpid::Proton::TimeoutError.new(self.error)
> when Qpid::Proton::Error::INPROGRESS
> return
> when Qpid::Proton::Error::INTERRUPTED
> raise Qpid::Proton::InterruptedError.new(self.error)
> when Qpid::Proton::Error::INPROGRESS
> > This condition duplicates the one on line 87.Why is this an issue?
> > 6 years ago L93 Bug Major Open Not assigned 10min effort
> > Comment pitfall, unused
> raise Qpid::Proton::InProgressError.new(self.error)
> else
> raise ::ArgumentError.new("Unknown error code: #{co de}")
> end
> end
> {code}
> edit: lol, first time it happened to me that a code block in Jira contains
> "\{code\}" and breaks formatting.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]