We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e17b8ee commit ebe81fdCopy full SHA for ebe81fd
apps/labrinth/src/routes/internal/delphi.rs
@@ -63,10 +63,10 @@ impl DelphiReport {
63
format!("⚠️ Suspicious traces found at {}", self.url);
64
65
for (issue, trace) in &self.issues {
66
- for (path, code) in trace {
+ for (class, code) in trace {
67
write!(
68
&mut message_header,
69
- "\n issue {issue} found at file {path}:\n```\n{code}\n```"
+ "\n issue {issue} found at class `{class}`:\n```\n{code}\n```"
70
)
71
.ok();
72
}
@@ -227,7 +227,7 @@ async fn issues(
227
.map(|offset| offset.try_into())
228
.transpose()
229
.map_err(|err| {
230
- io::Error::other(format!("Invalid offset: {err}"))
+ ApiError::InvalidInput(format!("Invalid offset: {err}"))
231
})?,
232
&**pool,
233
0 commit comments