Change to return {:error, reason} instead of :error

8 jobs for fix-warning-of-receiver-worker in 10 minutes and 20 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #109308
build

00:04:53

 
  Test
passed #109312
analysis

00:02:43

passed #109311
lint

00:01:55

failed #109309
unit-testing

00:05:26

failed #109310
unit-testing-rum

00:04:59

 
  Benchmark
skipped #109313
allowed to fail manual
benchmark
 
  Deploy
skipped #109314
allowed to fail manual
review_app
skipped #109315
allowed to fail manual
stop_review_app
 
Name Stage Failure
failed
unit-testing Test
 77.8% lib/pleroma/workers/scheduled_activity_w       44        9        2
100.0% lib/pleroma/workers/transmogrifier_worke 15 2 0
100.0% lib/pleroma/workers/web_pusher_worker.ex 20 2 0
16.7% lib/pleroma/workers/worker_helper.ex 46 6 5
0.0% lib/transports.ex 89 16 16
100.0% lib/xml_builder.ex 49 16 0
[TOTAL] 88.5%
----------------
ERROR: Job failed: exit code 1
failed
unit-testing-rum Test
...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
[warn] Mock response not implemented for GET "http://mastodon.example.org/users/admin/statuses/99512778738411822", , "", [{"accept", "application/activity+json"}]
.....................................................................................................................................................................................................................................*.......................................................................................................................................................................................................................................................................................................................

Finished in 107.4 seconds
2439 tests, 2 failures, 2 excluded, 1 skipped

Randomized with seed 224275
ERROR: Job failed: exit code 1