Commit 545f72c
committed
[IMP] image: do not swallow exception
If the image upload fails, it means there's a problem somewhere that
needs to be investiguated.
But we are currently try/catching the error to show a user-friendly message.
Several issues:
- The user doesn't care if the message is friendly or not: he wanted to
upload an image and it doesn't work.
- the person investiguating the issue wants the full traceback to investiguate
efficiently
Task: 5176795
Part-of: #7353
Signed-off-by: Pierre Rousseau (pro) <pro@odoo.com>1 parent 90a817d commit 545f72c
File tree
1 file changed
+1
-13
lines changed- src/actions
1 file changed
+1
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
520 | 519 | | |
521 | 520 | | |
522 | 521 | | |
523 | | - | |
524 | | - | |
525 | | - | |
526 | | - | |
527 | | - | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | 522 | | |
532 | 523 | | |
533 | 524 | | |
534 | 525 | | |
535 | 526 | | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | | - | |
| 527 | + | |
540 | 528 | | |
541 | 529 | | |
542 | 530 | | |
| |||
0 commit comments