yeti-platform / pyeti

Python bindings for Yeti's API
Apache License 2.0
18 stars 12 forks source link

`observable_add` doesn't raise any exception and just returns `None` #21

Open sp35 opened 3 years ago

sp35 commented 3 years ago
result = self.api.observable_add(value=obs_value)

This would just return None and there is no way I can catch the exception Couldn't guess observable type as it's just logged.

eshaan7 commented 3 years ago

Reference code: https://github.com/yeti-platform/pyeti/blob/5ec9da1bec42821869e8f4c5a8713a63c26ac111/pyeti/api.py#L684