Commit a18ffc3
authored
wstd::http_server: don't panic after setting responder.fail (#117)
passing the error out to the host via responder.fail is all thats needed
here - the host is responsible for reporting that error, so theres no
need for the guest to panic afterwards.
So, Responder::fail no longer needs a return value, and the macro no
longer needs to unwrap it1 parent 07ccea6 commit a18ffc3
2 files changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
138 | 138 | | |
139 | 139 | | |
140 | 140 | | |
141 | | - | |
| 141 | + | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | 86 | | |
88 | 87 | | |
0 commit comments