Attention is currently required from: dexter.
1 comment:
File contrib/sim-rest-server.py:
Patch Set #1, Line 104: failure.value
If the information inside value.error is useful, I'd suggest converting it to a string instead.
Looks like str(failure.value) would fix this. As I understand it, failure.value is of type ApiError when the error mentioned in the commit message appears. And the same line already converts an ApiError to str() the same way.
Another (IMHO more elegant) way to write this would be with f-string, which implictly converts failure.value to string:
```
return str(ApiError(f"Card Communication Error: {failure.value}"), sw)
```
To view, visit change 34155. To unsubscribe, or for help writing mail filters, visit settings.