[64973] trunk/base/src/port1.0/portlivecheck.tcl

raimue at macports.org raimue at macports.org
Thu Mar 18 15:38:11 PDT 2010


Revision: 64973
          http://trac.macports.org/changeset/64973
Author:   raimue at macports.org
Date:     2010-03-18 15:38:09 -0700 (Thu, 18 Mar 2010)
Log Message:
-----------
port1.0/portlivecheck.tcl: Add some more debug output if files cannot be loaded

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

Modified: trunk/base/src/port1.0/portlivecheck.tcl
===================================================================
--- trunk/base/src/port1.0/portlivecheck.tcl	2010-03-18 21:54:44 UTC (rev 64972)
+++ trunk/base/src/port1.0/portlivecheck.tcl	2010-03-18 22:38:09 UTC (rev 64973)
@@ -134,6 +134,8 @@
         set defaults_file "$types_dir/${livecheck.type}.tcl"
         ui_debug "Loading the defaults from '$defaults_file'"
         if {[catch {source $defaults_file} result]} {
+            global errorInfo
+            ui_debug "$errorInfo: result"
             return -code 1 "The defaults could not be loaded from '$defaults_file'."
         }
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100318/3ae5af63/attachment.html>


More information about the macports-changes mailing list