Correctly return when encountering an error while refreshing articles
parent
2d6f2c5b8f
commit
b17fd5efb2
|
@ -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" )
|
||||
|
|
Loading…
Reference in New Issue