lenra-io / server

GNU Affero General Public License v3.0
6 stars 0 forks source link

[Bug]: Server throw Error 500 on listener_run call #563

Open shiipou opened 3 months ago

shiipou commented 3 months ago

What happened?

Sometimes we just got an error 500 from the server when calling a listener from the app.

Probably when the listener return nothing or crash, the listener get a timeout error and made this error to be thrown.

What browsers are you seeing the problem on?

No response

Version

1.5.3

Relevant log output

[__exception__: true, __struct__: LenraCommon.Errors.TechnicalError, message: "Unknown error", metadata: "503\n\tlib/services/application_services.ex:393 Elixir.ApplicationRunner.ApplicationServices.response/2\n\tlib/services/application_services.ex:74 Elixir.ApplicationRunner.ApplicationServices.run_listener/5\n\tlib/event_handler.ex:105 Elixir.ApplicationRunner.EventHandler.handle_call/3\n\tgen_server.erl:721 gen_server.try_handle_call/4\n\tgen_server.erl:750 gen_server.handle_msg/6\n\tproc_lib.erl:226 proc_lib.init_p_do_apply/3", reason: :unknown_error, status_code: 500]