Correctly return when encountering an error while refreshing articles
parent
2d6f2c5b8f
commit
b17fd5efb2
|
@ -124,6 +124,7 @@ Item {
|
||||||
function( err ) {
|
function( err ) {
|
||||||
if ( err !== null ) {
|
if ( err !== null ) {
|
||||||
error( qsTr( "Failed to connect to server: " ) + err)
|
error( qsTr( "Failed to connect to server: " ) + err)
|
||||||
|
articlesDownloaded( [] )
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
console.debug( "Downloading articles changes since last sync" )
|
console.debug( "Downloading articles changes since last sync" )
|
||||||
|
|
Loading…
Reference in New Issue