summaryrefslogtreecommitdiffstats
path: root/redhat
diff options
context:
space:
mode:
authorMike McCallister <mike@mccllstr.com>2011-10-15 22:06:31 -0500
committerMike McCallister <mike@mccllstr.com>2011-10-15 23:41:21 -0500
commit826f385767ccf9f608fcfbe35e381a9dbc59db4b (patch)
tree2320daecca65d435d78e37f4fd213cd41119a07a /redhat
parent17a031da6ec2ee448ee3d8e18dde5c6a3785c464 (diff)
downloadbcfg2-826f385767ccf9f608fcfbe35e381a9dbc59db4b.tar.gz
bcfg2-826f385767ccf9f608fcfbe35e381a9dbc59db4b.tar.bz2
bcfg2-826f385767ccf9f608fcfbe35e381a9dbc59db4b.zip
Improve error handling of Packages plugin.
Provide a descriptive error message that avoids logging a traceback. Error out (instead of continuing) upon receiving an HTTP error or an indication that the URL is malformed. Only write data to the cache file if it was successfully retrieved from the URL. Make log messages for Packages plugin use consistent "Packages:" prefix.
Diffstat (limited to 'redhat')
0 files changed, 0 insertions, 0 deletions