diff --git a/app.py b/app.py index 8db9657..123d38b 100644 --- a/app.py +++ b/app.py @@ -1,4 +1,5 @@ import json +import traceback import uuid from flask import Flask, request, render_template_string @@ -120,6 +121,7 @@ def tray_load():
Updated Spool ID {spool_id} with TAG id {tag_id} to AMS {ams_id}, Tray {tray_id}.
""" except Exception as e: + traceback.print_exc() return f"{str(e)}
" @@ -162,11 +164,12 @@ def home():{str(e)}
" @@ -189,12 +192,13 @@ def assign_tag(): @@ -202,6 +206,7 @@ def assign_tag(): NFC Write +