Attention is currently required from: laforge, lynxis lazus, pespin.

fixeria has posted comments on this change by lynxis lazus. ( 
https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/37901?usp=email )

Change subject: s2b: when socket opening fails, stop the S2b module
......................................................................


Patch Set 3:

(1 comment)

File src/epdg_gtpc_s2b.erl:

https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/37901/comment/97b39dfd_e10b0ef5?usp=email
 :
PS3, Line 150: io_lib:format
> Yes maybe true. I'm not sure what's the intended way of returning a reason 
> is. […]
Well, the general approach is that formatted strings are for humans. You 
already let the humans know about an error via logging, so here you're letting 
the process' owner the failure `Reason`. The term `udp_socket_open_failed` is 
self-explanatory, so having a tuple `{udp_socket_open_failed, Reason}` would 
allow potential consumer of the `Reason` to format it any way they want (if at 
all).



--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo-epdg/+/37901?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: erlang/osmo-epdg
Gerrit-Branch: master
Gerrit-Change-Id: I49a6a1ec0c938aa70444c19c0b7b644f2e42f1fd
Gerrit-Change-Number: 37901
Gerrit-PatchSet: 3
Gerrit-Owner: lynxis lazus <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-Attention: laforge <[email protected]>
Gerrit-Attention: pespin <[email protected]>
Gerrit-Attention: lynxis lazus <[email protected]>
Gerrit-Comment-Date: Thu, 04 Dec 2025 21:39:09 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: fixeria <[email protected]>
Comment-In-Reply-To: lynxis lazus <[email protected]>

Reply via email to