wms icon indicating copy to clipboard operation
wms copied to clipboard

[14.0][IMP] shopfloor: add decorator to gracefully handle exceptions on response

Open TDu opened this issue 2 years ago • 4 comments

This PR adds a decorator that can be used on any endpoint to catch some exceptions and return to the user a clean error message and not a 500 error message.

This is to solve the problem discussed on https://github.com/OCA/wms/pull/732

TDu avatar Oct 17 '23 11:10 TDu

Hi @guewen, @sebalix, @simahawk, some modules you are maintaining are being modified, check this out!

OCA-git-bot avatar Oct 17 '23 11:10 OCA-git-bot

@bguillot As discussed on OCA days, here is the PR proposal for catching errors in shopfloor

jbaudoux avatar Nov 13 '23 09:11 jbaudoux

@bguillot Can you drop a review as you were the first to suggest such improvement?

jbaudoux avatar Nov 21 '23 13:11 jbaudoux

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

github-actions[bot] avatar Mar 24 '24 12:03 github-actions[bot]