You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by je...@apache.org on 2020/11/21 14:28:32 UTC

[thrift] branch master updated: FIX: Log errors in processor via standard logger -> errors to write into Console.Error as before

This is an automated email from the ASF dual-hosted git repository.

jensg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/thrift.git


The following commit(s) were added to refs/heads/master by this push:
     new 71e972c  FIX: Log errors in processor via standard logger -> errors to write into Console.Error as before
71e972c is described below

commit 71e972c9708b0b41e7e51ed681a7edd71721ec3e
Author: Jens Geyer <je...@apache.org>
AuthorDate: Sat Nov 21 15:26:40 2020 +0100

    FIX: Log errors in processor via standard logger -> errors to write into Console.Error as before
---
 compiler/cpp/src/thrift/generate/t_netstd_generator.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/cpp/src/thrift/generate/t_netstd_generator.cc b/compiler/cpp/src/thrift/generate/t_netstd_generator.cc
index 96963ee..8232760 100644
--- a/compiler/cpp/src/thrift/generate/t_netstd_generator.cc
+++ b/compiler/cpp/src/thrift/generate/t_netstd_generator.cc
@@ -2390,7 +2390,7 @@ void t_netstd_generator::generate_process_function_async(ostream& out, t_service
     indent_down();
     out << indent() << "else" << endl;
     indent_up();
-    out << indent() << "Console.WriteLine(sErr);" << endl;
+    out << indent() << "Console.Error.WriteLine(sErr);" << endl;
     indent_down();
 
     if (tfunction->is_oneway())