add opentelemetr logging

This commit is contained in:
Peter Maquiran
2024-07-22 13:28:52 +01:00
parent cd1c61fe86
commit f4589aa96e
12 changed files with 243 additions and 55 deletions
@@ -170,10 +170,10 @@ export class RoomRepositoryService {
if(result.isOk()) {
const result = await this.roomLocalDataSourceService.deleteRoomById(id)
this.messageLiveDataSourceService.sendMessage({
type: 'createRoom',
payload: {a: '5'}
})
// this.messageLiveDataSourceService.sendMessage({
// type: 'createRoom',
// payload: {a: '5'}
// })
return result
} else if (isHttpResponse(result.error)) {
@@ -216,10 +216,10 @@ export class RoomRepositoryService {
// this.roomMemoryDataSourceService.dispatch(addRoom(result.value))
const localResult = await this.roomLocalDataSourceService.createRoom(result.value.data)
this.messageLiveDataSourceService.sendMessage({
type: 'createRoom',
payload: {a: '5'}
})
// this.messageLiveDataSourceService.sendMessage({
// type: 'createRoom',
// payload: {a: '5'}
// })
return localResult.map(e => result.value)
}