From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id D15061FF15F for ; Mon, 2 Dec 2024 14:04:48 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id ADF5317C75; Mon, 2 Dec 2024 14:04:54 +0100 (CET) From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= To: pbs-devel@lists.proxmox.com Date: Mon, 2 Dec 2024 14:04:11 +0100 Message-Id: <20241202130412.1290616-4-f.gruenbichler@proxmox.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241202130412.1290616-1-f.gruenbichler@proxmox.com> References: <20241202130412.1290616-1-f.gruenbichler@proxmox.com> MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.048 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pbs-devel] [RFC proxmox v2 3/4] rest-server: make worker task creation error handling more idiomatic X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Backup Server development discussion Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" U2lnbmVkLW9mZi1ieTogRmFiaWFuIEdyw7xuYmljaGxlciA8Zi5ncnVlbmJpY2hsZXJAcHJveG1v eC5jb20+Ci0tLQoKTm90ZXM6CiAgICBiZXN0IEkgY291bGQgY29tZSB1cCB3aXRoIDspIGZlZWwg ZnJlZSB0byBmb2xkIHRoYXQgb25lIGluCgogcHJveG1veC1yZXN0LXNlcnZlci9zcmMvd29ya2Vy X3Rhc2sucnMgfCA2ICsrKy0tLQogMSBmaWxlIGNoYW5nZWQsIDMgaW5zZXJ0aW9ucygrKSwgMyBk ZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9wcm94bW94LXJlc3Qtc2VydmVyL3NyYy93b3JrZXJf dGFzay5ycyBiL3Byb3htb3gtcmVzdC1zZXJ2ZXIvc3JjL3dvcmtlcl90YXNrLnJzCmluZGV4IGJi ZjgyZmY5Li43NDgyODg1NSAxMDA2NDQKLS0tIGEvcHJveG1veC1yZXN0LXNlcnZlci9zcmMvd29y a2VyX3Rhc2sucnMKKysrIGIvcHJveG1veC1yZXN0LXNlcnZlci9zcmMvd29ya2VyX3Rhc2sucnMK QEAgLTkyOCwxMCArOTI4LDEwIEBAIGltcGwgV29ya2VyVGFzayB7CiAgICAgICAgIGlmIHJlcy5p c19lcnIoKSB7CiAgICAgICAgICAgICAvLyBuZWVkZWQgdG8gdW5kbyB0aGUgaW5zZXJ0aW9uIGlu dG8gV09SS0VSX1RBU0tfTElTVCBhYm92ZQogICAgICAgICAgICAgd29ya2VyLmxvZ19yZXN1bHQo JnJlcyk7Ci0gICAgICAgICAgICByZXM/CisgICAgICAgICAgICBFcnIocmVzLnVud3JhcF9lcnIo KSkKKyAgICAgICAgfSBlbHNlIHsKKyAgICAgICAgICAgIE9rKCh3b3JrZXIsIGxvZ2dlcikpCiAg ICAgICAgIH0KLQotICAgICAgICBPaygod29ya2VyLCBsb2dnZXIpKQogICAgIH0KIAogICAgIC8v LyBTcGF3biBhIG5ldyB0b2tpbyB0YXNrL2Z1dHVyZS4KLS0gCjIuMzkuNQoKCgpfX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpwYnMtZGV2ZWwgbWFpbGluZyBs aXN0CnBicy1kZXZlbEBsaXN0cy5wcm94bW94LmNvbQpodHRwczovL2xpc3RzLnByb3htb3guY29t L2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9wYnMtZGV2ZWwK