fix(bridge-kafka): no stacktrace when fetch topic partition count fail
This commit is contained in:
parent
42a4bc3382
commit
16444b7da9
|
@ -376,6 +376,8 @@ on_query_async(
|
||||||
),
|
),
|
||||||
do_send_msg(async, KafkaMessage, Producers, AsyncReplyFn)
|
do_send_msg(async, KafkaMessage, Producers, AsyncReplyFn)
|
||||||
catch
|
catch
|
||||||
|
error:{invalid_partition_count, _Count, _Partitioner} ->
|
||||||
|
{error, invalid_partition_count};
|
||||||
throw:{bad_kafka_header, _} = Error ->
|
throw:{bad_kafka_header, _} = Error ->
|
||||||
?tp(
|
?tp(
|
||||||
emqx_bridge_kafka_impl_producer_async_query_failed,
|
emqx_bridge_kafka_impl_producer_async_query_failed,
|
||||||
|
|
Loading…
Reference in New Issue