armada/docs/source/operations/exceptions/chartbuilder-exceptions.inc
Felipe Monteiro 950c6012ab Fix chartbuilder get_files raising UnicodeDecodeError
This adds better exception handling ang logging to
_append_file_to_result helper in get_files. When reading
arbitrary file data and attempting to encode to utf-8
this can cause UnicodeDecodeError to be raised.

However, Armada will not skip over such files; it will
raise an exception with appropriate details instead.

Closes #195
Closes #196

Change-Id: Id7c32c17e351d1ffe042e3755c116c36b6380223
2018-03-22 17:13:58 -05:00

48 lines
1.6 KiB
C++

..
Copyright 2018 AT&T Intellectual Property.
All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may
not use this file except in compliance with the License. You may obtain
a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations
under the License.
.. list-table:: **Chartbuilder Exceptions**
:widths: 5 50
:header-rows: 1
* - Exception Name
- Description
* - DependencyException
- .. autoexception:: armada.exceptions.chartbuilder_exceptions.DependencyException
:members:
:show-inheritance:
:undoc-members:
* - FilesLoadException
- .. autoexception:: armada.exceptions.chartbuilder_exceptions.FilesLoadException
:members:
:show-inheritance:
:undoc-members:
* - HelmChartBuildException
- .. autoexception:: armada.exceptions.chartbuilder_exceptions.HelmChartBuildException
:members:
:show-inheritance:
:undoc-members:
* - IgnoredFilesLoadException
- .. autoexception:: armada.exceptions.chartbuilder_exceptions.IgnoredFilesLoadException
:members:
:show-inheritance:
:undoc-members:
* - MetadataLoadException
- .. autoexception:: armada.exceptions.chartbuilder_exceptions.MetadataLoadException
:members:
:show-inheritance:
:undoc-members: