mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
remove expired room
This commit is contained in:
@@ -107,6 +107,7 @@ import { openTelemetryLogging, OpenTelemetryLogging } from './services/monitorin
|
||||
|
||||
import { registerLocaleData } from '@angular/common';
|
||||
import localePt from '@angular/common/locales/pt';
|
||||
import { LogsDatabase } from './infra/database/dexie/instance/logs/service';
|
||||
|
||||
// Register the locale data
|
||||
registerLocaleData(localePt, 'pt');
|
||||
@@ -126,8 +127,14 @@ registerLocaleData(localePt, 'pt');
|
||||
}) as Integration,
|
||||
],
|
||||
beforeSend(event) {
|
||||
console.log('event.exception.values[0].value', event.exception.values[0].value);
|
||||
|
||||
if (event.level === 'error') {
|
||||
// console.log(event.exception.values[0].value)
|
||||
|
||||
LogsDatabase.sentryError.add(event as any).then(() => {
|
||||
console.log('event', event)
|
||||
})
|
||||
|
||||
openTelemetryLogging.send({
|
||||
type: 'graylog',
|
||||
payload: {
|
||||
@@ -143,9 +150,7 @@ registerLocaleData(localePt, 'pt');
|
||||
// Return event to send it to Sentry
|
||||
return event;
|
||||
},
|
||||
},
|
||||
// Forward the init method to the sibling Framework.
|
||||
SentrySibling.init,
|
||||
}
|
||||
);
|
||||
|
||||
export const increment = createAction('[Counter Component] Increment');
|
||||
|
||||
Reference in New Issue
Block a user