Closed Guang1234567 closed 2 months ago
This looks like a bug somewhere else, it looks like the string output was cut off during printing (or writing to a socket/fd etc.).
get a wrong format result when i cut off the network of my phone in below code
How do you expect the program to send the logs without a network connection?
Hello dev:
print('Stack trace 1 :\n ${Trace.format(s, terse: true)}’);
get a wrong format result when i cut off the network of my phone in below code? Thanks.Or maybe is not the bug, just dart
print
function can not ouput the wholeStackTrace
, just print a part ofStackTrace
? So how to print the wholeStackTrace
?Console output:
The demo is here