You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by "likyh (via GitHub)" <gi...@apache.org> on 2023/01/31 07:09:47 UTC

[GitHub] [incubator-devlake] likyh opened a new issue, #4282: [Refactor][backend/core] Show direct error message for users.

likyh opened a new issue, #4282:
URL: https://github.com/apache/incubator-devlake/issues/4282

   ## What and why to refactor
   ```
   caused by: Error running task 16998. (400)
           Wraps: (2) error preparing task data for jenkins (400)
           Wraps: (3) fail to get transformationRule (400)
           Wraps: (4) record not found
   ```
   Now error messages are not readable for users. Because it's difficult to write more user-friendly tips in the backend. The detail message have been wrapped.
   
   ## Describe the solution you'd like
   show the inner message to users.
   ```
   caused by: fail to get transformationRule  ← show for users
           Calls: (1) Error running task 16998. (400)
           Calls: (2) error preparing task data for jenkins (400)
           Calls: (3) -
           Calls: (4) record not found
   ```
   Split `wrap` to 2 functions `wrap` and `as`. use `as` to recognize which error is. use `wrap` to record where errors go. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] github-actions[bot] commented on issue #4282: [Refactor][backend/core] Show direct error message for users.

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4282:
URL: https://github.com/apache/incubator-devlake/issues/4282#issuecomment-1595507672

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] github-actions[bot] closed issue #4282: [Refactor][backend/core] Show direct error message for users.

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #4282: [Refactor][backend/core] Show direct error message for users.
URL: https://github.com/apache/incubator-devlake/issues/4282


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] github-actions[bot] commented on issue #4282: [Refactor][backend/core] Show direct error message for users.

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4282:
URL: https://github.com/apache/incubator-devlake/issues/4282#issuecomment-1546774752

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] keon94 commented on issue #4282: [Refactor][backend/core] Show direct error message for users.

Posted by "keon94 (via GitHub)" <gi...@apache.org>.
keon94 commented on issue #4282:
URL: https://github.com/apache/incubator-devlake/issues/4282#issuecomment-1476983627

   This sounds like the "user error" vs "developer error" feature I proposely several months ago. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] Startrekzky commented on issue #4282: [Refactor][backend/core] Show direct error message for users.

Posted by "Startrekzky (via GitHub)" <gi...@apache.org>.
Startrekzky commented on issue #4282:
URL: https://github.com/apache/incubator-devlake/issues/4282#issuecomment-1480464053

   > This sounds like the "user error" vs "developer error" feature I proposely several months ago.
   
   Do you mean this one https://github.com/apache/incubator-devlake/issues/3068? Maybe we can close one.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] github-actions[bot] commented on issue #4282: [Refactor][backend/core] Show direct error message for users.

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4282:
URL: https://github.com/apache/incubator-devlake/issues/4282#issuecomment-1656481628

   This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] keon94 commented on issue #4282: [Refactor][backend/core] Show direct error message for users.

Posted by "keon94 (via GitHub)" <gi...@apache.org>.
keon94 commented on issue #4282:
URL: https://github.com/apache/incubator-devlake/issues/4282#issuecomment-1503722938

   @Startrekzky No, we only discussed it verbally. In the original design of the current error handling framework I was distinguishing between "user-errors" (which would make it to the UI and backend logs) and "dev-errors" (only in backend logs). It sounds like this is a use case for that.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] github-actions[bot] commented on issue #4282: [Refactor][backend/core] Show direct error message for users.

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #4282:
URL: https://github.com/apache/incubator-devlake/issues/4282#issuecomment-1644813075

   This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [incubator-devlake] Startrekzky commented on issue #4282: [Refactor][backend/core] Show direct error message for users.

Posted by "Startrekzky (via GitHub)" <gi...@apache.org>.
Startrekzky commented on issue #4282:
URL: https://github.com/apache/incubator-devlake/issues/4282#issuecomment-1547413535

   This is a long-existing issue that needs to be tackled in the future.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org