diff --git a/src/js/yunohost/helpers.js b/src/js/yunohost/helpers.js index d5871d74..2d6bf859 100644 --- a/src/js/yunohost/helpers.js +++ b/src/js/yunohost/helpers.js @@ -137,8 +137,8 @@ // Return HTTP error code at least else { var errorMessage = xhr.status+' '+xhr.statusText; - console.log(xhr); c.flash('fail', y18n.t('error_server_unexpected', [errorMessage])); + console.log(xhr); } // Remove loader if any