From d3fb91024978643ce95fd8d1a3d7a7a8d836900f Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Tue, 4 Nov 2014 19:30:37 +0100 Subject: [PATCH] Fixed errors in mass tag being silenced --- public_html/js/Presenters/PostListPresenter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/js/Presenters/PostListPresenter.js b/public_html/js/Presenters/PostListPresenter.js index 8917197c..3f783940 100644 --- a/public_html/js/Presenters/PostListPresenter.js +++ b/public_html/js/Presenters/PostListPresenter.js @@ -198,7 +198,7 @@ App.Presenters.PostListPresenter = function( $post.data('post', post); softRenderPost($post); }).fail(function(response) { - console.log(response); + window.alert(response.json && response.json.error || response); }); }