File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed
Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 11#include " protobuf/echo/EchoErrorPolicy.hpp"
2- #include " infra/stream/StdStringOutputStream.hpp"
3- #include " infra/util/ReallyAssert.hpp"
2+ #include " services/tracer/GlobalTracer.hpp"
43#include < cstdlib>
54
65namespace services
@@ -21,17 +20,13 @@ namespace services
2120
2221 void EchoErrorPolicyAbort::ServiceNotFound (uint32_t serviceId) const
2322 {
24- infra::StdStringOutputStream::WithStorage stream;
25- stream << " EchoErrorPolicyAbort::ServiceNotFound - serviceId: " << serviceId;
26- really_assert (false );
23+ services::GlobalTracer ().Trace () << " EchoErrorPolicyAbort::ServiceNotFound - serviceId: " << serviceId;
2724 std::abort ();
2825 }
2926
3027 void EchoErrorPolicyAbort::MethodNotFound (uint32_t serviceId, uint32_t methodId) const
3128 {
32- infra::StdStringOutputStream::WithStorage stream;
33- stream << " EchoErrorPolicyAbort::MethodNotFound - serviceId: " << serviceId << " , methodId: " << methodId;
34- really_assert (false );
29+ services::GlobalTracer ().Trace () << " EchoErrorPolicyAbort::MethodNotFound - serviceId: " << serviceId << " , methodId: " << methodId;
3530 std::abort ();
3631 }
3732}
You can’t perform that action at this time.
0 commit comments