Skip to content

Commit d45b876

Browse files
Koenraad VerheydenJoshua Nelson
authored andcommitted
RustwideBuilder: if a crate is blacklsited, log info and return
1 parent 560e475 commit d45b876

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/docbuilder/rustwide_builder.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,8 @@ impl RustwideBuilder {
245245
let conn = connect_db()?;
246246

247247
if is_blacklisted(&conn, name)? {
248-
return Err(::failure::err_msg("crate is on the blacklist"));
248+
info!("skipping build of {}, crate has been blacklisted", name);
249+
return Ok(false);
249250
}
250251

251252
let limits = Limits::for_crate(&conn, name)?;

0 commit comments

Comments
 (0)