Commit 0b15e10
committed
Handle template creation failures with the template engine
Check the status of the result and throw an exception with
information about the failure. This will aid diagnosing problems
with the template. Previously a null reference exception would
be thrown as an attempt was made to use the TemplateCreationResult's
ResultInfo which would be null.1 parent ccf7980 commit 0b15e10
File tree
1 file changed
+5
-0
lines changed- src/MonoDevelop.TemplateCreator/MonoDevelop.Templating
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
77 | 82 | | |
78 | 83 | | |
79 | 84 | | |
| |||
0 commit comments