From 6a0f3e06d77787c74a069c21617b562bfb00898b Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 4 Feb 2011 09:23:23 +0100 Subject: [PATCH] more verbose when fails to deal with a tagtype --- db-config.d/000-functions | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/db-config.d/000-functions b/db-config.d/000-functions index f2689793..db1263e2 100644 --- a/db-config.d/000-functions +++ b/db-config.d/000-functions @@ -2,6 +2,7 @@ #################### import sys, os import resource +import traceback g_url = "" def GetMyPLCURL(): return g_url @@ -54,7 +55,9 @@ def SetTagType(tag_type): except: # something went wrong for that tagname, # but don't want to break the whole startup sequence - print "Could not enforce tagtype %s"%tagname + print "Could not enforce tagtype %s --- beg"%tagname + traceback.print_exc() + print "Could not enforce tagtype %s --- end"%tagname pass # Get list of existing (enabled, global) files -- 2.47.0