fix trace attribute on exceptions

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