aaredb: added alc_failed event message
This commit is contained in:
@@ -133,6 +133,17 @@ class AareWrapper:
|
||||
except Exception as e:
|
||||
print(e)
|
||||
|
||||
def alc_failed(self, s: Optional[SampleShortInfo]):
|
||||
if s is None:
|
||||
return
|
||||
try:
|
||||
self.__sample_api.create_sample_event(
|
||||
sample_id=s.db_id,
|
||||
sample_event_create=SampleEventCreate(event_type="ALCFailed"),
|
||||
)
|
||||
except Exception as e:
|
||||
print(e)
|
||||
|
||||
def sample_lost(self, s: Optional[SampleShortInfo]):
|
||||
if s is None:
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user