fix issue with exception trace being imported and deprecated call at before

Signed-off-by: Caleb Cushing <xenoterracide@gmail.com>