Commit 0921242
authored
Create deployment error (#4920)
Contribute towards b/440042223
It create a Deployment Error class and uses it for Deployment failure.
It also fixes the issuance of the metric for failures. It seems the way
that the metrics client is implemented, it's not allowed to emit the
metric in a exception handling block.
---------
Signed-off-by: Javan Lacerda <javanlacerda@google.com>1 parent 31ae311 commit 0921242
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
54 | 58 | | |
55 | 59 | | |
56 | 60 | | |
| |||
445 | 449 | | |
446 | 450 | | |
447 | 451 | | |
448 | | - | |
| 452 | + | |
449 | 453 | | |
450 | 454 | | |
451 | 455 | | |
| |||
0 commit comments