Shortcuts shows "An unknown error occurred" but could show the failure message returned in the response of a custom intent

Originator:simonstoevring
Number:rdar://49841875 Date Originated:
Status:Open Resolved:
Product:iOS + Siri SDK Product Version:
Classification:Suggestion Reproducible:Always
 
When a shortcut with a custom intent is used in the Shortcuts app and the shortcut fails, the Shortcuts app shows an alert saying that "An unknown error occurred" as shown on the attached screenshot.

Instead of shown a generic and non-descriptive error message, I suggest that the Shortcuts app shows the failure message returned by the intent handler in as part of the intent response. These errors are defined by the developer and are very likely to be much more descriptive than "An unknown error occured" and can help the user to resolve the error.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!