<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python-jenkins-job-builder.git/tests/xml_config/exceptions, branch 3.2.0</title>
<subtitle>patches to python-jenkins-job-builder package in Fedora</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ktdreyer/public_git/python-jenkins-job-builder.git/'/>
<entry>
<title>Give an explicit error message when unsupported view type used</title>
<updated>2017-10-06T18:24:48+00:00</updated>
<author>
<name>Daniel Watkins</name>
<email>daniel.watkins@canonical.com</email>
</author>
<published>2017-08-29T15:39:41+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ktdreyer/public_git/python-jenkins-job-builder.git/commit/?id=e6d6c276d154afa4908c83ad90d1f8a36ffdbd92'/>
<id>e6d6c276d154afa4908c83ad90d1f8a36ffdbd92</id>
<content type='text'>
When specifying a view type that isn't supported by any modules (such as
"list-view" instead of "list"), this ensures that the user is guided
towards something correct.

This changes the error message in this case from:

AttributeError: 'NoneType' object has no attribute 'name'

to:

jenkins_jobs.errors.JenkinsJobsException: Unrecognized view type: list-view (supported types are: list, pipeline)

Change-Id: I0ee800db1c9c8aeecffcf11f1e86c03ba0590da8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When specifying a view type that isn't supported by any modules (such as
"list-view" instead of "list"), this ensures that the user is guided
towards something correct.

This changes the error message in this case from:

AttributeError: 'NoneType' object has no attribute 'name'

to:

jenkins_jobs.errors.JenkinsJobsException: Unrecognized view type: list-view (supported types are: list, pipeline)

Change-Id: I0ee800db1c9c8aeecffcf11f1e86c03ba0590da8
</pre>
</div>
</content>
</entry>
<entry>
<title>Output additional info when exceptions occur</title>
<updated>2016-12-08T15:59:12+00:00</updated>
<author>
<name>Darragh Bailey</name>
<email>daragh.bailey@gmail.com</email>
</author>
<published>2016-04-24T02:35:00+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ktdreyer/public_git/python-jenkins-job-builder.git/commit/?id=0f0f6810693f5f3728772beb6680dce07b36fcd5'/>
<id>0f0f6810693f5f3728772beb6680dce07b36fcd5</id>
<content type='text'>
Problems occurring deep in the code frequently need to be caught and
additional information included in the error output to help debug
issues.

Change-Id: I5aee523a3cf9e1cb7573fa6fc5a06dc3888be1ef
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problems occurring deep in the code frequently need to be caught and
additional information included in the error output to help debug
issues.

Change-Id: I5aee523a3cf9e1cb7573fa6fc5a06dc3888be1ef
</pre>
</div>
</content>
</entry>
<entry>
<title>Raise exception on unrecognized project type</title>
<updated>2016-09-14T17:02:16+00:00</updated>
<author>
<name>Darragh Bailey</name>
<email>dbailey@hpe.com</email>
</author>
<published>2016-05-09T14:42:03+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/ktdreyer/public_git/python-jenkins-job-builder.git/commit/?id=a5bd11ed18c1deb2525a65b3a92e51c719178da9'/>
<id>a5bd11ed18c1deb2525a65b3a92e51c719178da9</id>
<content type='text'>
Change-Id: I3a9355333dfc7c3f51cd970d0c12deff24223e68
Story: 2000575
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I3a9355333dfc7c3f51cd970d0c12deff24223e68
Story: 2000575
</pre>
</div>
</content>
</entry>
</feed>
