set_with_description actually does the thing, set_url is lies
This commit is contained in:
parent
2bf51bcbcf
commit
07e15df4a9
|
@ -70,8 +70,8 @@ impl<E: stats::SysEvents> EvaluationWorker<E> {
|
||||||
Err(())
|
Err(())
|
||||||
}
|
}
|
||||||
Err(eval::Error::FailWithGist(msg, filename, content)) => {
|
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_url(make_gist(&gists, &filename, Some("".to_owned()), content));
|
||||||
|
status.set_with_description(&msg, hubcaps::statuses::State::Failure);
|
||||||
Err(())
|
Err(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue