On a new CF 2021 server we recently stood up to re...
# fusion-reactor
d
On a new CF 2021 server we recently stood up to replace a much older version, FR is recording web requests, but doesn't seem to be recording 500s. I know some happened because we got the emails, but there's nothing in FR. Have I missed a config? If we caught the crashes, wouldn't they still show in FR? This is Revision: 8.8.0, Build: fusionreactor.10647.964d5a1e.8.8.0.
b
@Dave Merrill Are you saying that HTTP requests that return a 500 status code don't show anywhere in the FR admin, or do you mean that you don't see any exception/stacktrace details attached to these requests
m
If your missing the stack trace, it's probably because it's being caught and not rethrown in which case we cannot see it. You can add it back to FR with FRAPI. https://docs.fusionreactor.io/Troubleshooting/Adding-FR-Error-Stack-Trace-On-CFCatch-CFOnError/ If the server full in crashes and restarts though, unless you have cloud those transactions are only stored in memory and will be lost.
d
@mflewittintergral That's it, some crashes were caught, we emailed ourselves about them, didn't rethrow to keep users from seeing them, but FR doesn't either. This is an odd case, an unusual error that I would have liked to have seen come up in FR. I'll look into the API solution when I have a chance. Thanks.
b
@Dave Merrill You can use this as a start
It just expects to have FR's transaction passed in..
In fact, a couple extra lines of code in my FRAPISDK can default the current transaction for you
d
@bdw429s Well there you go again, being all handy and competent and stuff, cool! I'm on my way out of town tomorrow morning, but I'll check it out.