Skip to content
Permalink
Browse files

port: Output debug backtrace when mportopen failed

This is needed to find the cause of the problem. Other instances of
mportopen do the same.
  • Loading branch information
raimue committed Mar 26, 2018
1 parent 6782b97 commit 6ed146f6eeb9ceea3752fbe3b1e796c865821ab0
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/port/port.tcl
@@ -350,6 +350,7 @@ proc url_to_portname { url {quiet 0} } {
set savedir [pwd]
set portname ""
if {[catch {set ctx [mportopen $url]} result]} {
ui_debug "$::errorInfo"
if {!$quiet} {
ui_msg "Can't map the URL '$url' to a port description file (\"${result}\")."
ui_msg "Please verify that the directory and portfile syntax are correct."

0 comments on commit 6ed146f

Please sign in to comment.
You can’t perform that action at this time.