set_with_description actually does the thing, set_url is lies

This commit is contained in:
Graham Christensen 2019-04-11 20:44:30 -04:00
parent 2bf51bcbcf
commit 07e15df4a9
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C

View file

@ -70,8 +70,8 @@ impl<E: stats::SysEvents> EvaluationWorker<E> {
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(())
}
}