[64154] trunk/base/src/port1.0/porttrace.tcl

raimue at macports.org raimue at macports.org
Tue Feb 23 16:08:51 PST 2010


Revision: 64154
          http://trac.macports.org/changeset/64154
Author:   raimue at macports.org
Date:     2010-02-23 16:08:50 -0800 (Tue, 23 Feb 2010)
Log Message:
-----------
port1.0/porttrace.tcl: Report any errors returned by tracelib run

Modified Paths:
--------------
    trunk/base/src/port1.0/porttrace.tcl

Modified: trunk/base/src/port1.0/porttrace.tcl
===================================================================
--- trunk/base/src/port1.0/porttrace.tcl	2010-02-24 00:07:50 UTC (rev 64153)
+++ trunk/base/src/port1.0/porttrace.tcl	2010-02-24 00:08:50 UTC (rev 64154)
@@ -282,7 +282,9 @@
     set ports_list {}
     set sandbox_violation_list {}
     tracelib setname $fifo
-    tracelib run
+    if [catch {tracelib run} err] {
+        ui_warn "Error in tracelib: $err"
+    }
 }
 
 # Private.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100223/30536bb2/attachment-0001.html>


More information about the macports-changes mailing list