Skip to content
This repository was archived by the owner on Dec 14, 2024. It is now read-only.
This repository was archived by the owner on Dec 14, 2024. It is now read-only.

bug: add catching for invalid responses from local auth proxy #41

@LittleBigBug

Description

@LittleBigBug

If the local auth proxy returns an invalid response, the error should be logged in console and attempt to use configured tokens if available instead of completely breaking the game

e34141a24bb6c359c797a8cb4ac74f71

[Error  :   BepInEx] Error loading [PSP PAPERS 1.1.0]: System.NullReferenceException: Object reference not set to an instance of an object.
   at TwitchLib.Client.Models.ConnectionCredentials..ctor(String twitchUsername, String twitchOAuth, String twitchWebsocketURI, Boolean disableUsernameCheck, Capabilities capabilities)
   at psp_papers_mod.Twitch.TwitchIntegration..ctor()
   at psp_papers_mod.PapersPSP.Load()
   at BepInEx.Unity.IL2CPP.IL2CPPChainloader.LoadPlugin(PluginInfo pluginInfo, Assembly pluginAssembly) in /home/runner/work/BepInEx/BepInEx/Runtimes/Unity/BepInEx.Unity.IL2CPP/IL2CPPChainloader.cs:line 134
   at BepInEx.Bootstrap.BaseChainloader1.LoadPlugins(IList1 plugins) in /home/runner/work/BepInEx/BepInEx/BepInEx.Core/Bootstrap/BaseChainloader.cs:line 411

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions