mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-15 09:46:11 +01:00
improve logging
This commit is contained in:
@@ -50,6 +50,9 @@ class backupSchedule:
|
||||
finalData = json.dumps({'randomFile': pathToFile, 'websiteToBeBacked': virtualHost})
|
||||
r = requests.post("https://localhost:8090/backup/localInitiate", data=finalData, verify=False)
|
||||
|
||||
if os.path.exists(ProcessUtilities.debugPath):
|
||||
logging.CyberCPLogFileWriter.writeToFile(r.text)
|
||||
|
||||
data = json.loads(r.text)
|
||||
tempStoragePath = data['tempStorage']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user