print stack trace if reload throws an exception