Mask emoji in the 'catchers' info log.

This commit is contained in:
Sergio Benitez 2018-07-07 19:00:55 -07:00
parent 351b8f7c37
commit 69683dddd7
1 changed files with 1 additions and 1 deletions

View File

@ -536,7 +536,7 @@ impl Rocket {
/// ```
#[inline]
pub fn catch(mut self, catchers: Vec<Catcher>) -> Self {
info!("👾 {}:", Paint::purple("Catchers"));
info!("{}{}:", Paint::masked("👾 "), Paint::purple("Catchers"));
for c in catchers {
if self.catchers.get(&c.code).map_or(false, |e| !e.is_default()) {
let msg = "(warning: duplicate catcher!)";