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