log traceback on API exception