Correctly return when encountering an error while refreshing articles

pull/1/head
Grégory Oestreicher 2017-02-27 13:57:24 +01:00
parent 2d6f2c5b8f
commit b17fd5efb2
1 changed files with 1 additions and 0 deletions

View File

@ -124,6 +124,7 @@ Item {
function( err ) {
if ( err !== null ) {
error( qsTr( "Failed to connect to server: " ) + err)
articlesDownloaded( [] )
}
else {
console.debug( "Downloading articles changes since last sync" )