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 285982c commit 19e2d68Copy full SHA for 19e2d68
src/commands/log/list.ts
@@ -461,13 +461,15 @@ async function executeTraceSingleFetch(
461
});
462
463
const periodLabel =
464
- timeRange.type === "relative" ? timeRange.period : "specified range";
+ timeRange.type === "relative"
465
+ ? `in the last ${timeRange.period}`
466
+ : "in the specified range";
467
468
if (logs.length === 0) {
469
return {
470
result: { logs: [], traceId, hasMore: false },
471
hint:
- `No logs found for trace ${traceId} in the last ${periodLabel}.\n\n` +
472
+ `No logs found for trace ${traceId} ${periodLabel}.\n\n` +
473
"Try 'sentry trace logs' for more options (e.g., --period 30d).",
474
};
475
}
0 commit comments