impl fmt::Display for Sha256 for Logging
This commit is contained in:
@ -99,12 +99,7 @@ impl ProtocolHandler for ServerState {
|
||||
|
||||
let data = data_store.read_texture_file_by_hash(&hash);
|
||||
|
||||
println!(
|
||||
"{}: Texture File: '{:?}' found: {}",
|
||||
con,
|
||||
&hash,
|
||||
data.is_ok()
|
||||
);
|
||||
println!("{}: Texture File: '{}' found: {}", con, &hash, data.is_ok());
|
||||
|
||||
Ok(data?)
|
||||
}
|
||||
@ -123,7 +118,7 @@ impl ProtocolHandler for ServerState {
|
||||
let preview = data_store.get_texture_preview(&hash, format);
|
||||
|
||||
println!(
|
||||
"{}: Texture Preview: '{:?}' found: {}",
|
||||
"{}: Texture Preview: '{}' found: {}",
|
||||
con,
|
||||
&hash,
|
||||
preview.is_ok()
|
||||
|
Reference in New Issue
Block a user