all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: pve-devel@lists.proxmox.com, Dominik Csapak <d.csapak@proxmox.com>
Subject: [pve-devel] applied: [PATCH mini-journalreader v3] fix #6410: properly close json output on error
Date: Tue,  3 Jun 2025 20:56:23 +0200	[thread overview]
Message-ID: <174897697269.3070212.1186761723593651830.b4-ty@proxmox.com> (raw)
In-Reply-To: <20250603085247.917673-1-d.csapak@proxmox.com>

On Tue, 03 Jun 2025 10:52:47 +0200, Dominik Csapak wrote:
> when encountering an error (e.g. there was no curser at the wanted
> position), the program would close with exitcode 1, but would not
> properly finish the json output if in json mode.
> 
> To fix that, introduce a `print_error_and_exit` helper that tries to
> finish the json output. We set `success` to 0 to indicate an error.
> 
> [...]

Applied, thanks!

[1/1] fix #6410: properly close json output on error
      commit: a1d86b7e6526351b6513f516a661acce33d1b64d


_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


      reply	other threads:[~2025-06-03 18:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-03  8:52 [pve-devel] " Dominik Csapak
2025-06-03 18:56 ` Thomas Lamprecht [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=174897697269.3070212.1186761723593651830.b4-ty@proxmox.com \
    --to=t.lamprecht@proxmox.com \
    --cc=d.csapak@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal