Skip to content

fix: function clause error when already started - #133

Merged
thalesmg merged 1 commit into
masterfrom
20250613-fix-clause-error
Jun 13, 2025
Merged

fix: function clause error when already started#133
thalesmg merged 1 commit into
masterfrom
20250613-fix-clause-error

Conversation

@thalesmg

Copy link
Copy Markdown
Contributor

https://github.com/emqx/emqx/actions/runs/15634307273/job/44046132360?pr=15377#step:5:465

%%% emqx_dashboard_https_SUITE ==> t_verify_cacertfile: FAILED
%%% emqx_dashboard_https_SUITE ==> {function_clause,
    [{minirest,log_start_result,
         [{error,{already_started,<0.262357.0>}},
          #{name => 'https:dashboard',port => 18084}],
         [{file,"/__w/emqx/emqx/_build/default/lib/minirest/src/minirest.erl"},
          {line,129}]},
     {minirest,start_listener_,4,
         [{file,"/__w/emqx/emqx/_build/default/lib/minirest/src/minirest.erl"},
          {line,124}]},
     {emqx_dashboard,'-start_listeners/1-fun-0-',3,
         [{file,"/__w/emqx/emqx/apps/emqx_dashboard/src/emqx_dashboard.erl"},
          {line,61}]},
     {lists,foldl,3,[{file,"lists.erl"},{line,2146}]},
     {emqx_dashboard,start_listeners,1,
         [{file,"/__w/emqx/emqx/apps/emqx_dashboard/src/emqx_dashboard.erl"},
          {line,52}]},
     {emqx_dashboard_https_SUITE,t_verify_cacertfile,1,
         [{file,
              "/__w/emqx/emqx/apps/emqx_dashboard/test/emqx_dashboard_https_SUITE.erl"},
          {line,242}]},

https://github.com/emqx/emqx/actions/runs/15634307273/job/44046132360?pr=15377#step:5:465

```
%%% emqx_dashboard_https_SUITE ==> t_verify_cacertfile: FAILED
%%% emqx_dashboard_https_SUITE ==> {function_clause,
    [{minirest,log_start_result,
         [{error,{already_started,<0.262357.0>}},
          #{name => 'https:dashboard',port => 18084}],
         [{file,"/__w/emqx/emqx/_build/default/lib/minirest/src/minirest.erl"},
          {line,129}]},
     {minirest,start_listener_,4,
         [{file,"/__w/emqx/emqx/_build/default/lib/minirest/src/minirest.erl"},
          {line,124}]},
     {emqx_dashboard,'-start_listeners/1-fun-0-',3,
         [{file,"/__w/emqx/emqx/apps/emqx_dashboard/src/emqx_dashboard.erl"},
          {line,61}]},
     {lists,foldl,3,[{file,"lists.erl"},{line,2146}]},
     {emqx_dashboard,start_listeners,1,
         [{file,"/__w/emqx/emqx/apps/emqx_dashboard/src/emqx_dashboard.erl"},
          {line,52}]},
     {emqx_dashboard_https_SUITE,t_verify_cacertfile,1,
         [{file,
              "/__w/emqx/emqx/apps/emqx_dashboard/test/emqx_dashboard_https_SUITE.erl"},
          {line,242}]},
```
@thalesmg
thalesmg marked this pull request as ready for review June 13, 2025 13:11
@thalesmg
thalesmg merged commit d427677 into master Jun 13, 2025
2 checks passed
@thalesmg
thalesmg deleted the 20250613-fix-clause-error branch June 13, 2025 13:23
thalesmg added a commit to thalesmg/emqx that referenced this pull request Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants