tx7do / kratos-transport

kratos transport layer extension
MIT License
340 stars 92 forks source link

fix(transport/machinery): ignore graceful exit error #98

Open hominsu opened 1 month ago

hominsu commented 1 month ago

Previously, the (*Server).Start function was returning all errors from (*Server).newWorker, including the "Worker quit gracefully" error. This change modifies the error handling to ignore the ErrWorkerQuitGracefully error, as a graceful exit should not be treated as an error condition.