Skip to content

Commit

Permalink
base: licensecheck: output license data load failure details via debu…
Browse files Browse the repository at this point in the history
…g, rather than warn
  • Loading branch information
mascguy committed May 25, 2021
1 parent accfb72 commit 29f1873
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/port1.0/portlicensecheck.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ proc portlicensecheck::licensecheck_main {args} {
set license_file [getdefaultportresourcepath "port1.0/licenses/licenses.tcl"]
ui_debug "Loading license data from: '${license_file}'"
if {[catch {source ${license_file}} result]} {
ui_warn "Result from failed license data load attempt: $::errorInfo: result"
ui_debug "Result from failed license data load attempt: $::errorInfo: result"
return -code 1 "License data could not be loaded from: '${license_file}'."
}
}
Expand Down

0 comments on commit 29f1873

Please sign in to comment.