From af36a493662472a51595d6629fc4c22389203cf2 Mon Sep 17 00:00:00 2001 From: PCoder Date: Wed, 10 Jun 2020 13:36:30 +0530 Subject: [PATCH] Revert back errors --- hosting/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosting/views.py b/hosting/views.py index ceecfd79..1bd7c1aa 100644 --- a/hosting/views.py +++ b/hosting/views.py @@ -1787,7 +1787,7 @@ class VirtualMachineView(LoginRequiredMixin, View): try: manager.get_vm(vm.id) except WrongIdError: - logger.debug( + logger.error( "VM {} not found. So, its terminated.".format(vm.id) ) response['status'] = True @@ -1798,7 +1798,7 @@ class VirtualMachineView(LoginRequiredMixin, View): vm_detail_obj.terminated_at = datetime.utcnow() vm_detail_obj.save() except BaseException as base_exception: - logger.debug( + logger.error( "manager.get_vm({vm_id}) returned exception: " "{details}.".format( details=str(base_exception), vm_id=vm.id