mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-22 01:02:59 +01:00
🔨 Log error message when catching
This commit is contained in:
parent
4335f9c7da
commit
7d174aa610
@ -265,6 +265,7 @@ class WebdavTools {
|
||||
status.message = `Fail to upload snapshot to nextcloud (${err}) !`;
|
||||
statusTools.setStatus(status);
|
||||
logger.error(status.message);
|
||||
logger.error(err);
|
||||
reject(status.message);
|
||||
});
|
||||
});
|
||||
@ -334,6 +335,7 @@ class WebdavTools {
|
||||
status.error_code = 7;
|
||||
statusTools.setStatus(status);
|
||||
logger.error(status.message);
|
||||
logger.error(err);
|
||||
reject(err.message);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user