Skip to content

Commit

Permalink
Fix callback module for some errors
Browse files Browse the repository at this point in the history
Summary: `elp_epp` is a fork of the Erlang `epp` module. Ensure all occurrences of the module name are updated accordingly, for proper error formatting.

Reviewed By: alanz

Differential Revision: D62117646

fbshipit-source-id: 1dccbb8f42aec1f53efd716fc07795d16ef7b7a8
  • Loading branch information
robertoaloi authored and facebook-github-bot committed Sep 3, 2024
1 parent b2ff100 commit 79c2299
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions erlang_service/src/elp_epp.erl
Original file line number Diff line number Diff line change
Expand Up @@ -1230,11 +1230,11 @@ scan_feature(
From,
St
) when not St#epp.in_prefix ->
epp_reply(From, {error, {loc(Feature), epp, ftr_after_prefix}}),
epp_reply(From, {error, {loc(Feature), elp_epp, ftr_after_prefix}}),
wait_req_scan(St);
scan_feature(Toks, {atom, _, Tag} = Token, From, St) ->
T = no_match(Toks, Token),
epp_reply(From, {error, {loc(T), epp, {bad, Tag}}}),
epp_reply(From, {error, {loc(T), elp_epp, {bad, Tag}}}),
wait_req_scan(St).

%% This is just a stub. We don't update any feature in the ELP fork.
Expand Down

0 comments on commit 79c2299

Please sign in to comment.