better logging and error reporting for inc backups

This commit is contained in:
Usman Nasir
2020-01-23 20:53:17 +05:00
parent c1eed3a432
commit 8aa4b84c25
4 changed files with 66 additions and 35 deletions

View File

@@ -1,6 +1,5 @@
# -*- coding: utf-8 -*-
from django.shortcuts import render
from plogical.acl import ACLManager
from django.shortcuts import HttpResponse, redirect
@@ -392,7 +391,6 @@ def submitBackupCreation(request):
startJob = IncJobs('createBackup', extraArgs)
startJob.start()
time.sleep(2)
final_json = json.dumps({'status': 1, 'error_message': "None", 'tempPath': tempPath})