formatAppDied function
Implementation
void formatAppDied(AppDiedException e) {
final reasonSuffix = e.reason != null ? ' REASON=${e.reason}' : '';
stderr.writeln('ERROR: APP_DIED$reasonSuffix');
if (e.logLines.isNotEmpty) {
stderr.writeln('Last ${e.logLines.length} log lines:');
for (final line in e.logLines) {
stderr.writeln(' $line');
}
}
stderr.writeln('See: fdb crash-report');
}