Raising a new exception will mask the backtrace, I think that `raise e.class, error, e.backtrace` will fix that.