X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Fnbi.py;h=caf4c2d9510156658e61ba8f91b1370eb2027674;hp=c6a06fd73fe3456d477489c32ee69df948148de8;hb=refs%2Ftags%2Fv5.0.1;hpb=d125caf630021538f19aadab045b5d17def67cdd diff --git a/osm_nbi/nbi.py b/osm_nbi/nbi.py index c6a06fd..caf4c2d 100644 --- a/osm_nbi/nbi.py +++ b/osm_nbi/nbi.py @@ -850,7 +850,7 @@ class Server(object): cherrypy.log("Exception {}".format(e)) else: http_code_value = cherrypy.response.status = HTTPStatus.BAD_REQUEST.value # INTERNAL_SERVER_ERROR - cherrypy.log("CRITICAL: Exception {}".format(e)) + cherrypy.log("CRITICAL: Exception {}".format(e), traceback=True) http_code_name = HTTPStatus.BAD_REQUEST.name if hasattr(outdata, "close"): # is an open file outdata.close()