Fix dissappearing numbers on console exporter output #5

Closed
opened 2024-06-25 13:02:35 +00:00 by goc_natalia · 0 comments
Owner

Numbers do not get converted/rendered to text correctly. Most notorious example is code.lineno:

[ERR][Event] exception
        code.filepath = /home/adhalia/Code/salego/task_processor/main.go
        code.function = main.migrateCronJobsTable
        code.lineno =
        exception.message = ERROR: syntax error at or near "$1" (SQLSTATE 42601)
        exception.type = *pgconn.PgError
        level = ERR
        log_message.short = ERROR: syntax error at or near "$1" (SQLSTATE 42601)
Numbers do not get converted/rendered to text correctly. Most notorious example is `code.lineno`: ``` [ERR][Event] exception code.filepath = /home/adhalia/Code/salego/task_processor/main.go code.function = main.migrateCronJobsTable code.lineno = exception.message = ERROR: syntax error at or near "$1" (SQLSTATE 42601) exception.type = *pgconn.PgError level = ERR log_message.short = ERROR: syntax error at or near "$1" (SQLSTATE 42601) ```
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: maal-libraries/observer#5
No description provided.