set traceback early for proper stack traces