• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Emailed stack traces when things go the way of the 502

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 1.1k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • craigbaldingC Offline
    craigbaldingC Offline
    craigbalding
    wrote on last edited by
    #1

    I'd like to have stack traces emailed to me as they happen (in production). On first glance this doesn't seem a nodebb specific issue...but from googling I see some folks recommending making changes to the app itself to make calls to the forever module....(with others urging caution that it's not reliable).

    What do you recommend for doing this? Anyone already setup getting stack traces emailed from production?

    P.S in my current setup, nodebb is started through a systemd unit that calls forever to execute the nodebb app (yes a bit of duplication) - I'm open to changing that if needed.

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #2

    Yeah, I think we can build this into core. If you have an emailer plugin installed, I can have NodeBB email you when it runs into an unhandled exception.

    1 Reply Last reply
    0
  • craigbaldingC Offline
    craigbaldingC Offline
    craigbalding
    wrote on last edited by
    #3

    @julian That would be great. If you think that might be a ways off, I'd be happy to take a shot at it with a few pointers (new to node)

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development