Skip to content

Commit

Permalink
testme
Browse files Browse the repository at this point in the history
  • Loading branch information
proller committed Jan 30, 2025
1 parent 2848ca4 commit 381f236
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cloud/filestore/libs/diagnostics/profile_log.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ void TProfileLog::Stop()

void TProfileLog::Write(TRecord record)
{
static bool reported = false;
if (!reported && record.FileSystemId.empty()) {
reported = true;
Cerr << "Profile log record without filesystem id. Trace:\n";
PrintBackTrace();
}
Records.Enqueue(std::move(record));
}

Expand Down

0 comments on commit 381f236

Please sign in to comment.