After successfully cancelling a pending magic-folder invite (via POST /experimental/magic-folder/FOLDER_NAME/invite-cancel), the magic-folder "status" API immediately emits an "errors" message, like so:
This "error" appears to occur regardless of whether anything was awaiting on the .../invite-wait endpoint.
Because the cancellation, in this case, was both a) initiated by the end user and b) completed successfully, I would not expect this to be represented as an "error". If cancelled invites are supposed to be represented as "errors", however, consider specifying the accompanying reason in the message "summary" field (for example, as "Invite of 'test' failed: _cancelled by user_" instead of just "Invite of 'test' failed: ").
After successfully cancelling a pending magic-folder invite (via
POST /experimental/magic-folder/FOLDER_NAME/invite-cancel
), the magic-folder "status" API immediately emits an "errors" message, like so:This "error" appears to occur regardless of whether anything was awaiting on the
.../invite-wait
endpoint.Because the cancellation, in this case, was both a) initiated by the end user and b) completed successfully, I would not expect this to be represented as an "error". If cancelled invites are supposed to be represented as "errors", however, consider specifying the accompanying reason in the message
"summary"
field (for example, as"Invite of 'test' failed: _cancelled by user_"
instead of just"Invite of 'test' failed: "
).