Skip to content

Commit 64530c2

Browse files
committed
fix(formatter): _format_error needs MessageInfo
1 parent 3c0b842 commit 64530c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/opencode/ui/formatter.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function M._format_messages(session)
7171
end
7272

7373
if msg.info.error and msg.info.error ~= '' then
74-
M._format_error(msg)
74+
M._format_error(msg.info)
7575
end
7676
end
7777

0 commit comments

Comments
 (0)