Forte40 / openbee

Bee Breeding with OpenPeripherals
12 stars 14 forks source link

More descriptive error catching #2

Closed dmarcuse closed 10 years ago

dmarcuse commented 10 years ago

Should be easier to debug when people start uploading full logs :P

Forte40 commented 10 years ago

Thanks for the contribution. I'm making changes to remove globals and be more functional in style to help support multiple apiaries. I'm going to have a main function at the bottom of the script and wrap a pcall around that. Something feels wrong about wrapping the entire script in a pcall. So, this request will be closed, but I'm going to add the functionality.

dmarcuse commented 10 years ago

Ok. This was just a "quick fix" for all the messages on the forums that didn't provide logs. :P