We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 86fcbaf + 19bbc24 commit df38d63Copy full SHA for df38d63
1 file changed
lib/astarte_vmq_plugin/vernemq_api.ex
@@ -22,5 +22,12 @@ defmodule Astarte.VMQ.Plugin.VerneMQ.API do
22
@impl true
23
def disconnect_by_subscriber_id(subscriber_id, opts) do
24
:vernemq_dev_api.disconnect_by_subscriber_id(subscriber_id, opts)
25
+ catch
26
+ :exit, :normal -> :ok
27
+ :exit, {:normal, _} -> :ok
28
+ :exit, :shutdown -> :ok
29
+ :exit, {:shutdown, _} -> :ok
30
+ :exit, :noproc -> :ok
31
+ :exit, {:noproc, _} -> :ok
32
end
33
0 commit comments