mirror of
https://github.com/beerpiss/saekawa.git
synced 2025-02-17 10:48:32 +01:00
fix: pretty-print failed score imports
This commit is contained in:
parent
19a579bebf
commit
30b00c242e
@ -89,7 +89,7 @@ pub fn execute_score_import(
|
||||
|
||||
{
|
||||
let file = File::create(&failed_import_filename).context(FailedCreatingBackupSnafu)?;
|
||||
serde_json::to_writer(file, &import).context(FailedWritingBackupSnafu)?;
|
||||
serde_json::to_writer_pretty(file, &import).context(FailedWritingBackupSnafu)?;
|
||||
}
|
||||
|
||||
info!("Saved batch manual JSON to {}", failed_import_filename.to_string_lossy());
|
||||
|
Loading…
x
Reference in New Issue
Block a user