aboutsummaryrefslogtreecommitdiffstats
path: root/src/cowboy_tracer_h.erl
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2017-12-13 12:40:00 +0100
committerLoïc Hoguin <[email protected]>2017-12-13 12:40:00 +0100
commit34473bc247138fb66d4a6739317340f4e7197625 (patch)
tree668ef651be486b5c459b901cfcbbdd1a08631574 /src/cowboy_tracer_h.erl
parent576e2d21118829dbc018836c87dddb9037e9d3bf (diff)
downloadcowboy-34473bc247138fb66d4a6739317340f4e7197625.tar.gz
cowboy-34473bc247138fb66d4a6739317340f4e7197625.tar.bz2
cowboy-34473bc247138fb66d4a6739317340f4e7197625.zip
Fix Dialyzer warnings
Diffstat (limited to 'src/cowboy_tracer_h.erl')
-rw-r--r--src/cowboy_tracer_h.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cowboy_tracer_h.erl b/src/cowboy_tracer_h.erl
index 6c6340d..932653b 100644
--- a/src/cowboy_tracer_h.erl
+++ b/src/cowboy_tracer_h.erl
@@ -169,6 +169,7 @@ tracer_loop(Parent, Fun, State0) ->
tracer_loop(Parent, Fun, State0)
end.
+-spec tracer_terminate(_, _, _) -> no_return().
tracer_terminate(Reason, Fun, State) ->
_ = Fun(terminate, State),
exit(Reason).