Firebase emulator loses connection after exception is thrown

47 views Asked by At

I am getting: ConnectionError: connect ECONNREFUSED ::1:3002 after exception is thrown in the firebase function. Is this expected behaviour ?.

Emulators are started with this command
firebase emulators:start --non-interactive

Usually when server throws an exception it just returns 500 status error. But with the emulator i can not make any subsequent requests to it. Am i supposed to handle errors in some way and will this happen in production if unhandled error occurs.

Thank you and best regards

0

There are 0 answers