Skip to content

Commit

Permalink
Fix bad error handling when sasl is not running
Browse files Browse the repository at this point in the history
  • Loading branch information
sylane committed Oct 11, 2024
1 parent a259c49 commit 0a383ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/grisp_connect_updater.erl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ system_info() ->
exit:{noproc, _} ->
% Running in a shell
#{relname => null, relvsn => null};
exit:undef ->
error:undef ->
% Sasl is not running
#{relname => null, relvsn => null}
end,
Expand Down

0 comments on commit 0a383ae

Please sign in to comment.