Skip to content

Commit 8ff936d

Browse files
zdevitometa-codesync[bot]
authored andcommitted
Revert D86540593: Fix instances where report is not a string.
Differential Revision: D86540593 Original commit changeset: 42f3dc51d667 Original Phabricator Diff: D86540593 fbshipit-source-id: b39c7c938585b0d165d18b3a43416cce827b2a11
1 parent 9087bde commit 8ff936d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/monarch/_src/actor/actor_mesh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def filter(self, record: Any) -> bool:
274274
fn = _monarch_actor().per_actor_logging_prefix
275275
ctx = _context.get(None)
276276
if ctx is not None and fn is not None:
277-
record.msg = f"{fn(ctx.actor_instance)}{record.msg}"
277+
record.msg = fn(ctx.actor_instance) + record.msg
278278
return True
279279

280280

0 commit comments

Comments
 (0)