This commit is contained in:
Loïc Hoguin 2025-10-10 13:23:32 +02:00
parent 5aeffc4a5b
commit b523092213
No known key found for this signature in database
GPG Key ID: C69E26E3A9DF618F
1 changed files with 1 additions and 1 deletions

View File

@ -738,7 +738,7 @@ master_format_gh_anno({error, {{exception, Reason, [{Mod, Fun, Arity, Loc}|_]},
%% if we don't have the real file name.
File = proplists:get_value(file, Loc, ".github"),
Line = proplists:get_value(line, Loc, 0),
io_lib:format("::error file=~s,line=~d::~w:~tw/~d: ~w~n",
io_lib:format("::error file=~s,line=~b::~w:~tw/~d: ~w~n",
[File, Line, Mod, Fun, Arity, Reason]);
master_format_gh_anno(Reason) ->
%% Do the bare minimum if we don't know the error reason.