X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=db-config.d%2F000-functions;fp=db-config.d%2F000-functions;h=db1263e269dd92a922f082be4d02712a4586053b;hb=6a0f3e06d77787c74a069c21617b562bfb00898b;hp=f26897938fe5591c3f1f8794a8edcf91b8718ba7;hpb=c9023191bc5e07fe0edc51be57418919b66e4c43;p=plcapi.git diff --git a/db-config.d/000-functions b/db-config.d/000-functions index f268979..db1263e 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