ReceiverWorker: Make sure non-{:ok, _} is returned as {:error, …} #753
No reviewers
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#753
Loading…
Reference in a new issue
No description provided.
Delete branch "Oneric/akkoma:receive-worker-return"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Same thing as
b7dd739de1
and afaict the only other worker where a wrong return is as obvious (if a worker just forwards the result from some other module’s function i didn’t check if the format will always match)Cherry-picked-from:
pleroma@a299ddb10e
all good, thanks for pulling this in~