We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8be6661 commit 0daf4e9Copy full SHA for 0daf4e9
1 file changed
bottlecap/src/logs/lambda/processor.rs
@@ -164,7 +164,7 @@ impl LambdaProcessor {
164
if let Some(metrics) = metrics {
165
self.invocation_context.runtime_duration_ms = metrics.duration_ms;
166
if status == Status::Timeout {
167
- message.push_str(format!(" Task timed out after {:.2} seconds", metrics.duration_ms / 1000.0).as_str());
+ message.push_str(&format!(" Task timed out after {:.2} seconds", metrics.duration_ms / 1000.0));
168
}
169
170
// Remove the `request_id` since no more orphan logs will be processed with this one
0 commit comments