Commit 811b1b3b authored by yPhil's avatar yPhil
Browse files

New & improved server errors handling

parent 74ddfcb9
Pipeline #399295 failed with stage
in 32 seconds
{
"name": "petrolette",
"description": "News reading webapp.",
"version": "1.2.3",
"version": "1.2.4",
"private": true,
"license": "GPL-3.0-only",
"FAVICONS_CACHE_DIR": "favicons-cache",
......
......@@ -215,8 +215,6 @@ PTL.feed = {
PTL.util.say(PTL.tr('Problem reading feed [%1] Error type [%2]', feedUrl, error), 'error');
}).done(function(data) {
console.log('data: %s (%s)', JSON.stringify(data));
$feedLink.text(data.feedTitle || feedUrl)
.attr('href', data.feedLink)
.attr('title', (data.feedTitle || PTL.tr('Untitled')) + ' (' + feedUrl + ')');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment