Samuel Barnholdt
Samuel Barnholdt
TtRPC
Created by Samuel Barnholdt on 4/8/2024 in #❓-help
Throwing something other than `Unexpected token '<', "<!DOCTYPE "... is not valid JSON`
yeah you're right, tried to find the argument to the JSON.parse that causes the bug but post throwing it's hard to follow
12 replies
TtRPC
Created by Samuel Barnholdt on 4/8/2024 in #❓-help
Throwing something other than `Unexpected token '<', "<!DOCTYPE "... is not valid JSON`
No description
12 replies
TtRPC
Created by Samuel Barnholdt on 4/8/2024 in #❓-help
Throwing something other than `Unexpected token '<', "<!DOCTYPE "... is not valid JSON`
I think that what happened is that when I throw the error the endpoint either returns null or nothing at all
12 replies
TtRPC
Created by Samuel Barnholdt on 4/8/2024 in #❓-help
Throwing something other than `Unexpected token '<', "<!DOCTYPE "... is not valid JSON`
No description
12 replies
TtRPC
Created by Samuel Barnholdt on 4/8/2024 in #❓-help
Throwing something other than `Unexpected token '<', "<!DOCTYPE "... is not valid JSON`
I am though, I can debug through the entire thing -> then something weird happens after throwing from inside
12 replies
TtRPC
Created by Samuel Barnholdt on 1/9/2024 in #❓-help
Better error tracing when using TRPC routers
No description
4 replies
TtRPC
Created by Samuel Barnholdt on 11/20/2023 in #❓-help
Compressing parts of query/mutation input
pledged 100$ if someone's reading this 🙂
5 replies