Log failure of Actions & FoO

Is there a way to be able to automatically log when an action is failing?

I have an application (in workshop) that is used in PROD and even though we have tests to check the validity of the FoO some bugs can be introduced.
I would like to be informed everytime my users are running into an error with my actions.

We agree that’s a useful feature but unfortunately this isn’t currently supported

This feature is being worked on currently, however - so please keep an eye out for future product announcements.

2 Likes

Hey - curious to know if this feature is available (even as a canary)? Thanks

@michaeld @bparruck Hey - was there any progress on this feature?
We are currently creating an object for logging the errors and we have to add so logic to our functions via a try/ catch but that makes it difficult to maintain and painful to add to each functions:

try {

} catch (error) {

  const errorMessage = error instanceof Error ? error.message : String(error)
  const eventName = 'createPatient-Action'
  const contextData = new FunctionsMap<string, string | undefined>()
  contextData.set('patientEmail', email)
  contextData.set('doctorEmail', primary_doctor?.email)
  await this.errorHandling.logErrorAndThrow(errorMessage, eventName, contextData)
}

Hello! Any updates here?

Hey - no additional news on my end on this topic

Hello, we released Action Metrics (https://www.palantir.com/docs/foundry/action-types/action-metrics) as a way of allowing users insights into the usage and failure of their action types.

Is there work in progress on making this be available as data so it can be used within Foundry workflows?