Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed process_remote_converter_configuration_update method #1101

Merged
merged 2 commits into from
Apr 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion thingsboard_gateway/gateway/tb_gateway_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,8 +497,11 @@ def __process_remote_converter_configuration_update(self, content: dict):
raise ValueError

self.available_connectors[connector_name].update_converter_config(converter_name, content[key])
except (ValueError, AttributeError, IndexError) as e:
except (ValueError, AttributeError) as e:
log.error('Remote converter configuration update failed with exception:')
log.exception(e)
except IndexError:
log.debug('Received unknown request with content: %s', content)

def update_connector_config_file(self, connector_name, config):
for connector in self.__config['connectors']:
Expand Down