nebulous / infinitude

Open control of Carrier/Bryant thermostats
MIT License
225 stars 50 forks source link

Problems with $c->stash('store_key'); #77

Closed briansniffen closed 4 years ago

briansniffen commented 5 years ago
[Sat Jun  1 22:50:34 2019] [debug] POST "/systems/3912W001015"
[Sat Jun  1 22:50:34 2019] [debug] Routing to a callback
Use of uninitialized value $key in concatenation (.) or string at ./infinitude line 282.
Use of uninitialized value $key in concatenation (.) or string at ./infinitude line 283.
[Sat Jun  1 22:50:34 2019] [debug] 200 OK (0.002262s, 442.087/s)

That corresponds to the handler for post 'systems/:id', and past that I'm lost: I don't understand why this uses $c->stash('store_key') instead of just $c. Help?

Thanks!

steveward commented 4 years ago

Running into the same issue myself.

nebulous commented 4 years ago

That's just a warning, but I pushed a patch above which may address it.