[MacPorts] #56549: selfupdate loses error message returned by mportsync
MacPorts
noreply at macports.org
Sat Apr 17 03:01:03 UTC 2021
#56549: selfupdate loses error message returned by mportsync
---------------------+--------------------
Reporter: jmroot | Owner: jmroot
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: base | Version:
Resolution: fixed | Keywords:
Port: |
---------------------+--------------------
Changes (by jmroot):
* status: new => closed
* owner: (none) => jmroot
* resolution: => fixed
Comment:
In [changeset:"8f4b9e5830479427e1ae09e3d87089c37cb3442b/macports-base"
8f4b9e5830479427e1ae09e3d87089c37cb3442b/macports-base] (master):
{{{
#!ConfigurableCommitTicketReference repository="macports-base"
revision="8f4b9e5830479427e1ae09e3d87089c37cb3442b"
Fix loss of error status from selfupdate::main
There seems to be a bug with the 'try' procedure that suppresses errors
generated by "return -code error" inside the catch clause.
Fixes: https://trac.macports.org/ticket/56549
}}}
--
Ticket URL: <https://trac.macports.org/ticket/56549#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list