Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
Try to make sure that issue text is not lost on creation failure
◌ 0/1 checks passed did:key:z6MkoohH...AjJf wants to merge 1 commit into master · opened 2 months ago

This patch solves

2f43c1e2d1616b07e13e3f8f0b0dcb397aa8fb7c

by trying to rescue the issue title and description. If the issue creation fails, it tries to open a named tempfile and print title and description to that file (plus flushing it). If any of these steps fail, it prints the issue to the terminal. If it succeeds, it prints the path of the tempfile. Then, normal error propagation continues.


This is mostly a proposal. I am sure this code could be made nicer in some way, but I tried to make it as KISS as possible.

Checks in progress — 0 passed, 1 pending View logs ↗