I am using elixir-desktop to create a desktop application.
I face this crash when running the created release via the deployment script
Slogan: Kernel pid terminated (application_controller) ("{application_start_failure,kernel,{{shutdown,{failed_to_start_child,user,{badarg,[{erlang,display_string,[\"Logger - error: \"],[{file,\"erlang.erl\"},{line,2138},{error_info,#{cause => 'The handle is invalid.\r\n',module => erl_erts_errors}}]},{logger,internal_log,2,[{file,\"logger.erl\"},{line,716}]},{logger_backend,call_handlers,3,[{file,\"logger_backend.erl\"},{line,56}]},{proc_lib,exit_p,3,[{file,\"proc_lib.erl\"},{line,350}]}]}}},{kernel,start,[normal,[]]}}}")
The crash does not occur if I create just the release but not run the deployment script, by commenting out the script here