@ -57,7 +57,7 @@ class Carto::BoundingBoxService
}
end
rescue PG::Error => exception
log_error(exception: exception, table: @table_name)
log_error(exception: exception, table: { name: @table_name })
raise BoundingBoxError.new("Can't calculate the bounding box for table #{@table_name}. ERROR: #{exception}")
@ -175,9 +175,8 @@ module Carto
message: 'Error in named maps API',
current_user: @user,
action: action,
request_url: response.request.url,
status: response.code,
response_body: response.body
request: { url: response.request.url },
response: { status: response.code, body: response.body }
)