Skip to content

Commit 0907da1

Browse files
committed
Final form of the warning
1 parent e2be2f4 commit 0907da1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/textual/app.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3015,7 +3015,9 @@ async def _broker_event(
30153015
# It's a tuple and made it this far, which means it'll be a
30163016
# malformed action. This is a no-op, but let's log that
30173017
# anyway.
3018-
log.warning(f"{event_name} event has an empty action")
3018+
log.warning(
3019+
f"Can't parse @{event_name} action from style meta; check your console markup syntax"
3020+
)
30193021
return False
30203022
return True
30213023

0 commit comments

Comments
 (0)