mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-13 16:22:43 +10:00
fix(process log): use unix timestamp to avoid invalid characters in
filename
This commit is contained in:
@ -107,7 +107,7 @@ impl ProcessManager {
|
|||||||
.open(self.log_output_dir.join(format!(
|
.open(self.log_output_dir.join(format!(
|
||||||
"{}-{}.log",
|
"{}-{}.log",
|
||||||
game_id,
|
game_id,
|
||||||
current_time.to_rfc3339()
|
current_time.timestamp()
|
||||||
)))
|
)))
|
||||||
.map_err(|v| v.to_string())?;
|
.map_err(|v| v.to_string())?;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user