Commit a6b68aa
committed
ServiceHelper: fall back to stderr if there is no LogService yet
At the stage of the ServiceHelper, we cannot realistically assume
that the LogService has been created yet: there might have been an
error initializing it, it might not have been initialized yet, or
there might not be any LogService available to begin with.
We should fail gracefully in all those cases and simply fall back to
printing to stderr instead.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent 5006d2d commit a6b68aa
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| 232 | + | |
232 | 233 | | |
233 | 234 | | |
234 | 235 | | |
235 | 236 | | |
236 | 237 | | |
237 | 238 | | |
| 239 | + | |
238 | 240 | | |
239 | 241 | | |
240 | 242 | | |
241 | 243 | | |
242 | 244 | | |
243 | 245 | | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
244 | 250 | | |
245 | 251 | | |
246 | 252 | | |
247 | 253 | | |
248 | 254 | | |
249 | 255 | | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
250 | 260 | | |
251 | 261 | | |
252 | 262 | | |
0 commit comments