You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in each of the feedbackFunctions, would be useful for debugging to know what messages were actually sent. Probably can instrument the sendSlackMessageToProjectChannel, sendSlackMessageToSigChannel, and sendSlackMessageToPeople functions.
Simple data structure:
// MessageLogSchema{
timestamp: DateasString// time when message was senttarget{type: project|sig|people,projectName: String// project name if type is project; optionalsigName: String// SIG name if type is SIG; optionalpeople: String[]// list of people message was sent to if type is people; optional}
message: String// message that was sent
error: ObjectasString// error if happens}
The text was updated successfully, but these errors were encountered:
801eb35 tried to add this, but I kept hitting a ReferenceError: MessageLog is not defined when adding it to the feedback functions. I added it to the postToStudioAPI function for now, but that doesn't listen for any errors in the request.
some options:
add a try, catch to postToStudioAPI to listen for any errors there and capture that
get the ExecutionEnv to accept MessageLog somehow. Might need to include Mongoose (seems like I use this. to refer to the studio API call)
in each of the feedbackFunctions, would be useful for debugging to know what messages were actually sent. Probably can instrument the
sendSlackMessageToProjectChannel
,sendSlackMessageToSigChannel
, andsendSlackMessageToPeople
functions.Simple data structure:
The text was updated successfully, but these errors were encountered: