Skip to content

Commit

Permalink
Add printing for Stdin report field
Browse files Browse the repository at this point in the history
  • Loading branch information
SweetVishnya committed Mar 17, 2023
1 parent e748972 commit 0944421
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions libcasr/src/report.rs
Original file line number Diff line number Diff line change
Expand Up @@ -578,6 +578,11 @@ impl fmt::Display for CrashReport {
report += &format!("\nProcCmdline: {}\n", &self.proc_cmdline);
}

// Stdin
if !self.stdin.is_empty() {
report += &format!("\nStdin: {}\n", &self.stdin);
}

// ProcStatus
if !self.proc_status.is_empty() {
report += "\n===ProcStatus===\n";
Expand Down

0 comments on commit 0944421

Please sign in to comment.