Commit 603a9075 authored by Wilko Manger's avatar Wilko Manger

Only print the stacktrace if it's not null

parent 8314af4f
......@@ -41,7 +41,10 @@ Future<void> _reportError(dynamic error, dynamic stackTrace) async {
print('body: ${error.body}');
}
print(stackTrace);
if (stackTrace != null) {
print(stackTrace);
}
} else {
if (error is Response) {
var body;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment