Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ async fn main() {
|job| async {
ObsJobHandler::from_obs_config_in_job(job, HandlerOptions::default()).map_err(
|err| {
error!("Failed to create new client: {:?}", err);
error!(gitlab.output = true, "Failed to handle new job: {:?}", err);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gitlab.output is really an implementation detail that crates using the runner shouldn't be aware of :). If you use outputln! it will already do the right thing; If you want and equivalent of e.g. error! then that's something to look at in the gitlab runner crate really.

},
)
},
Expand Down