<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-base.
</pre>
<p><a href="https://github.com/macports/macports-base/commit/7a93047fb58a63d35e1c434b92ed5350ea9cade8">https://github.com/macports/macports-base/commit/7a93047fb58a63d35e1c434b92ed5350ea9cade8</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 7a93047fb action_target: show port name when an error is caught
</span>7a93047fb is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 7a93047fb58a63d35e1c434b92ed5350ea9cade8
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Sun Oct 22 18:03:28 2023 +1100
<span style='display:block; white-space:pre;color:#404040;'> action_target: show port name when an error is caught
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/63078
</span>---
src/port/port.tcl | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/src/port/port.tcl b/src/port/port.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index dd825fac8..368fc0443 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/src/port/port.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/src/port/port.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4265,12 +4265,12 @@ proc action_target { action portlist opts } {
</span> }
if {[catch {set workername [mportopen $porturl [array get options] [array get requested_variations]]} result]} {
ui_debug $::errorInfo
<span style='display:block; white-space:pre;background:#ffe0e0;'>- break_softcontinue "Unable to open port: $result" 1 status
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break_softcontinue "Unable to open port $portname: $result" 1 status
</span> }
if {[catch {mportexec $workername $target} result]} {
ui_debug $::errorInfo
mportclose $workername
<span style='display:block; white-space:pre;background:#ffe0e0;'>- break_softcontinue "Unable to execute port: $result" 1 status
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break_softcontinue "Unable to execute port $portname: $result" 1 status
</span> }
mportclose $workername
</pre><pre style='margin:0'>
</pre>