Skip to content

Commit

Permalink
Add json parsing error
Browse files Browse the repository at this point in the history
  • Loading branch information
karolisg committed Mar 6, 2024
1 parent 570dd9a commit 891a564
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dozer-ingestion/aerospike/src/connector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ impl AerospikeConnector {
Ok(HttpServer::new(move || {
App::new()
.app_data(web::JsonConfig::default().error_handler(|err, _req| {
error!("Error parsing json: {:?}", err);
actix_web::error::InternalError::from_response(
"",
HttpResponse::BadRequest()
Expand Down

0 comments on commit 891a564

Please sign in to comment.