Skip to content

Commit

Permalink
🩹 Fix _errors route not printing newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
RemiBardon committed Jun 3, 2024
1 parent dfff27d commit 6a58f10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/orangutan-server/src/routes/debug_routes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ fn errors(token: Token) -> Result<String, Status> {

let mut res = String::new();
for log in ERRORS.read().unwrap().iter() {
res.push_str(&format!("{} | {}", log.timestamp, log.line));
res.push_str(&format!("{} | {}\n", log.timestamp, log.line));
}

Ok(res)
Expand Down

0 comments on commit 6a58f10

Please sign in to comment.