correctly attach error_trace from server to raised exceptions

if you use None as default value for error_trace in the exception constructor I would also use None as default here