GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    feld (feld@bikeshed.party)'s status on Tuesday, 20-Aug-2024 04:46:05 JSTfeldfeld
    in reply to
    • Haelwenn /элвэн/ :triskell:
    • Phantasm
    @phnt @lanodan this is essentially what I was thinking about too. You can do it two ways:

    Logger.error("message here", reason: error)

    or simply

    # attach this error metadata to ALL logs emitted by this process
    Logger.metadata([reason: error])
    Logger.error("message here")


    the nice part about using Logger.metadata is that we could probably write a helper function that will just keep appending errors to a list so we can accumulate them
    In conversationabout 9 months ago from bikeshed.partypermalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.