Merge pull request #6931 from CartoDB/less_vqb_debug

Restrict scope of VQB warning messages
pull/6906/head^2
Javier Torres 9 years ago
commit fec4073f3b

@ -196,8 +196,8 @@ class Carto::VisualizationQueryBuilder
def build
query = Carto::Visualization.scoped
unless @id || @user_id || @organization_id
CartoDB.notify_debug("VQB query without viz_id, user_id nor org_id", stack: caller.take(25))
if @name && !(@id || @user_id || @organization_id)
CartoDB.notify_debug("VQB query by name without user_id nor org_id", stack: caller.take(25))
end
if @id

Loading…
Cancel
Save