Commit 9d69289
authored
fix: missing file for m365 step after pipe transfer (#854)
## Problem
Missing file error is not caught properly after pipe is transferred,
this occurs if the m365 excel file is not manually transferred from the
old owner to the new owner (and the new owner clicks on pipe transfer
settings)
## Solution
Catch the error and warn with the logger + return instructions for
missing file
## Tests
- Check that after pipe transfer, new owner clicks into the settings and
no error shows anymore (instead the instruction shows)
<img width="586" alt="image"
src="https://github.com/user-attachments/assets/5a3cb65a-7c08-432e-b1fa-847297a34c29"
/>File tree
1 file changed
+30
-11
lines changed- packages/backend/src/apps/m365-excel/common
1 file changed
+30
-11
lines changedLines changed: 30 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
| 7 | + | |
5 | 8 | | |
6 | 9 | | |
7 | 10 | | |
| |||
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
52 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
53 | 72 | | |
54 | | - | |
55 | 73 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
60 | 79 | | |
61 | 80 | | |
62 | 81 | | |
| |||
0 commit comments