Currently whenever we call functions which require the intent name as an input variable to a function we do so with a static string which causes problems if copy/pasting code for new functions - if we replace these static strings with the conv.intent value it'd be easier to maintain.
Regarding error messages, we need to get HUG error messages to show their contents in the firebase console, not just [object object], also whenever we call an unexpected error we should try to provide more info in the message.
Currently whenever we call functions which require the intent name as an input variable to a function we do so with a static string which causes problems if copy/pasting code for new functions - if we replace these static strings with the conv.intent value it'd be easier to maintain.
Regarding error messages, we need to get HUG error messages to show their contents in the firebase console, not just [object object], also whenever we call an unexpected error we should try to provide more info in the message.