mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 05:15:40 +03:00
PropagatorDownload: fix possible crash
Backtrace seen from the crash reporter where reply() is null.
This commit is contained in:
parent
b685f6b6b6
commit
60c101d90b
1 changed files with 3 additions and 1 deletions
|
@ -286,7 +286,9 @@ void GETFileJob::slotReadyRead()
|
|||
|
||||
void GETFileJob::slotTimeout()
|
||||
{
|
||||
qDebug() << "Timeout" << reply()->request().url();
|
||||
qDebug() << "Timeout" << (reply() ? reply()->request().url() : path());
|
||||
if (!reply())
|
||||
return;
|
||||
_errorString = tr("Connection Timeout");
|
||||
_errorStatus = SyncFileItem::FatalError;
|
||||
reply()->abort();
|
||||
|
|
Loading…
Reference in a new issue