PipedreamHQ / PipedreamHQ/pipedream

[FEATURE] Add an unhidden log with the natural language error message to the Submit An App form logs, if test request fails

Open
#5,618 1 comment 0 reactions 0 assignees View on GitHub
enhancement tracked internally triaged
Dominant language
JavaScript
Stars
11.7k
Forks
5.8k
Avg merge
3d 10h
Merged PRs (30d)
102

Description

**Is your feature request related to a problem? Please describe. **
Logs dumped on the Submit An App form when the test request fails can be improved from a user perspective. My impression is that the logs are good for debugging... but for the submit-form's back-end development.

From a user respective, sometimes it is only relevant the error message disclosed within the stack trace, say of a 400 bad request error.

**Describe the solution you'd like**
I would like another row with the plain error message extracted from logs, stack trace.

**Do you have a workaround? **
Somestimes, I head off to workflow development, or even to Postman. Postman is the clearest, because if an error occurs, it beautifies the JSON and discloses the error message in a easy to see way. The current debug logs contain a bit overload of information, when the actual payload is just a line of an error message, plus you have to expand the logs because they're collapsed.

**Comparable features in other tools? **
PD Workflow Builder
Postman, the nice error message extracted when a 4xx or 5xx error occurs in the request.

**Additional context**

1. this is how errors are displayed presently:
![image](https://user-images.githubusercontent.com/25184117/222875234-8851ad0e-19f9-4722-b436-c83adc990259.png)

2. can we extract the error message from the logs, strip out the stack trace, and obscure logs like the amazon relic id, and display it in an additional row?
kind of the workflow error reporting, or Postman's

![image](https://user-images.githubusercontent.com/25184117/222875309-de542138-023d-4565-9437-c381e9acf1c5.png)

![image](https://user-images.githubusercontent.com/25184117/222875715-07b59a62-9679-484f-b1bf-3c9d63994ec9.png)

![image](https://user-images.githubusercontent.com/25184117/222875451-851f08b6-6c79-44af-a700-6ef9f5325aea.png)

3. here is my reasoning for requesting this:

a) it is easy to overlook an error message and react accordingly to rectify, the amount of info in the current logs is simply overwhelm. **displaying the natural language error message within all the logs _separately_ and _unhidden_ will be really helpful.**

b) considering the submit an app form might be made generally available to users, this should be a good improvement for avoiding confusion with users.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.