diff --git a/api-server/src/main.rs b/api-server/src/main.rs index 3d476bd6..c9969ccc 100644 --- a/api-server/src/main.rs +++ b/api-server/src/main.rs @@ -22,7 +22,6 @@ use actix::prelude::*; use actix_web::{server, App}; use env_logger::Builder; use log::info; -use sentry_actix::SentryMiddleware; use state::AppState; use stats::StatsCollector; use std::env; @@ -55,7 +54,6 @@ fn main() { let server = server::new(move || { App::with_state(AppState::init(stats_collector.clone())) - .middleware(SentryMiddleware::new()) .resource("/metrics/request", |r| { r.post().with(stats::update); }) diff --git a/flask_app/tasks/replications.py b/flask_app/tasks/replications.py index cd13c90f..fc45d604 100644 --- a/flask_app/tasks/replications.py +++ b/flask_app/tasks/replications.py @@ -119,6 +119,7 @@ def _get_tests_to_replicate_query(replica, bulk_size=200): ).label('test'), select([func.array_agg( func.json_build_object( + 'timestamp', models.Error.timestamp, 'message', models.Error.message) )]).where(models.Error.test_id == models.Test.id).label('errors'), select([