fix: move clear_i18n to after clause

This commit is contained in:
Zhongwen Deng 2022-05-06 23:15:13 +08:00
parent e6e66b032e
commit ec297965f6
1 changed files with 3 additions and 1 deletions

View File

@ -80,7 +80,9 @@ regenerate_minirest_dispatch() ->
emqx_dashboard:list_listeners()
)
catch
_:_ -> emqx_dashboard:clear_i18n()
_:_ -> ok
after
emqx_dashboard:clear_i18n()
end.
add_handler() ->