Refine backlog policy and runtime guards

Move speculative framework items into Ideas and bump rc.14

Guard tgapi API/uploader setup and nil plugin registrations

Add missing observer Event godoc
This commit is contained in:
2026-03-31 16:57:08 +03:00
parent a818174fbf
commit ba25dab6b1
8 changed files with 38 additions and 7 deletions
+5
View File
@@ -98,6 +98,11 @@ type API struct {
// Always call Close() when done to release resources.
func NewAPI(opts *APIOpts) *API {
l := utils.CreateLogger("API", utils.GetLoggerLevel())
if opts == nil {
l.Errorln("Set API options")
_ = l.Close()
return nil
}
client := opts.client
if client == nil {