correctly attach error_trace from server to raised exceptions