From 07e15df4a9bc505ccfdbef14d02773f73e9e3baf Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Thu, 11 Apr 2019 20:44:30 -0400 Subject: [PATCH] set_with_description actually does the thing, set_url is lies --- ofborg/src/tasks/evaluate.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ofborg/src/tasks/evaluate.rs b/ofborg/src/tasks/evaluate.rs index 6a82eb3..3b3f236 100644 --- a/ofborg/src/tasks/evaluate.rs +++ b/ofborg/src/tasks/evaluate.rs @@ -70,8 +70,8 @@ impl EvaluationWorker { Err(()) } Err(eval::Error::FailWithGist(msg, filename, content)) => { - status.set_with_description(&msg, hubcaps::statuses::State::Failure); status.set_url(make_gist(&gists, &filename, Some("".to_owned()), content)); + status.set_with_description(&msg, hubcaps::statuses::State::Failure); Err(()) } }