aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/api/v1
diff options
context:
space:
mode:
authorRobert2017-08-22 18:07:13 +0200
committerRobert2017-08-22 18:07:13 +0200
commit038710b22ccf3dd2421ec8d07fae45ef05a47ada (patch)
tree68c0be569ac09e87ae6151803879ca52953b4a36 /app/controllers/api/v1
parent61c4a303183284fc107325aeeef5ace7a3e68c0c (diff)
downloadchouette-core-038710b22ccf3dd2421ec8d07fae45ef05a47ada.tar.bz2
Refs: 4273@5h; Still debugging zip file upload inside post to Rails api; Retry removed (but not the deadcode yet) [amend me]
Diffstat (limited to 'app/controllers/api/v1')
-rw-r--r--app/controllers/api/v1/netex_imports_controller.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/controllers/api/v1/netex_imports_controller.rb b/app/controllers/api/v1/netex_imports_controller.rb
index 7dc18a7be..fd28ba45a 100644
--- a/app/controllers/api/v1/netex_imports_controller.rb
+++ b/app/controllers/api/v1/netex_imports_controller.rb
@@ -44,10 +44,8 @@ module Api
ReferentialMetadataKludge.make_metadata_from_name! netex_import_params['name'], referential_id: @new_referential.id
# <<< REMOVE ME !!!!
rescue ActiveRecord::RecordInvalid
- require 'pry'
- binding.pry
# render json: {errors: @new_referential.errors}, status: 406
- render json: {errors: ErrorFormat.detailed(@new_referential)}, status: 406
+ render json: {errors: ErrorFormat.details(@new_referential)}, status: 406
finish_action!
end