From 349034537e3bf5fb9b2e673253455d3052e25078 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Sat, 11 May 2024 10:04:00 +0000 Subject: [PATCH] latest audit --- .../conversion/management/commands/custom_runserver.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kitchen_counter/conversion/management/commands/custom_runserver.py b/kitchen_counter/conversion/management/commands/custom_runserver.py index e4f97e7..e5f5b3e 100755 --- a/kitchen_counter/conversion/management/commands/custom_runserver.py +++ b/kitchen_counter/conversion/management/commands/custom_runserver.py @@ -3,6 +3,8 @@ import time import boto3 import subprocess import json +import os +import pandas as pd import threading from django.core.management.base import BaseCommand from django.core.management import call_command @@ -278,7 +280,7 @@ def run_audit(msg): script_json["type"] = "script-json" audit_data["script-json"] = script_json print("data_uploaded") - except: + except Exception as exp: print("###ERROR:",exp) print("######Error from JSON CREATION############") pass