Revision ec511098

b/ui/static/snf/js/models.js
625 625
                url: stats_url, 
626 626
                refresh:true, 
627 627
                success: _.bind(this.handle_stats_update, this),
628
                error: _.bind(this.handle_stats_error, this)
628
                error: _.bind(this.handle_stats_error, this),
629
                critical: false,
630
                display: false,
631
                log_error: false
629 632
            });
630 633
        },
631 634

  
b/ui/static/snf/js/sync.js
151 151
            // api errors registry will be sent
152 152
            // if user reports an error using feedback form
153 153
            if (handler_type == "error") {
154
                add_api_error(this, arguments);
154
                // skip logging requested ?
155
                // if not log this error
156
                if (this.log_error !== false) {
157
                    add_api_error(this, arguments);
158
                }
155 159
            }
156 160
            
157 161
            // identify response status

Also available in: Unified diff