log traceback only in debug mode