Anyone using <@U06V253M4>'s amazing Sentry module?...
# cfml-general
h
Anyone using @bdw429s's amazing Sentry module? Any idea how to get the actual error type to have more verbosity than just "application Error"? I can't see any attribute/param to define this.
b
@Harry F "application" is the actual "type" from the cfcatch
1
So if you had Throw( message="blah", type="foobar" ) It would say "foobar error"
The other details of the exception should be tracked as well.
Just note, the stacktrace isn't sent by default
1
h
Many thanks, @bdw429s! Have done a little workaround in my handler:
cferrorDupe = cferror;
cferrorDupe.type = cferrorDupe.message;
It's a beaut now!
e
sharing is caring.. share your code
j
+1 PR
g
Shared a not with few devs It’s a common practice here Not all share code