mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-12-23 22:46:44 +01:00
🚑 Fix crash on startup
This commit is contained in:
parent
8c03b24bc4
commit
c4f5b00a84
@ -266,7 +266,7 @@ class WebdavTools {
|
||||
status.message = `Fail to upload snapshot to nextcloud (${err}) !`;
|
||||
statusTools.setStatus(status);
|
||||
logger.error(status.message);
|
||||
logger.error(err?.stack);
|
||||
logger.error(err.stack);
|
||||
reject(status.message);
|
||||
});
|
||||
});
|
||||
@ -336,7 +336,7 @@ class WebdavTools {
|
||||
status.error_code = 7;
|
||||
statusTools.setStatus(status);
|
||||
logger.error(status.message);
|
||||
logger.error(err?.stack);
|
||||
logger.error(err.stack);
|
||||
reject(err.message);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user