Include stacktrace when dt command fails (#9385)

diff --git a/tool/bin/dt.dart b/tool/bin/dt.dart
index 4c66bfa..4a6c98a 100755
--- a/tool/bin/dt.dart
+++ b/tool/bin/dt.dart
@@ -16,13 +16,17 @@
         .whenComplete(sharedStdIn.terminate);
 
     exit(result is int ? result : 0);
-  } catch (e) {
+  } catch (e, st) {
     if (e is UsageException) {
       stderr.writeln('$e');
+      stderr.writeln(st);
+
       // Return an exit code representing a usage error.
       exit(64);
     } else {
       stderr.writeln('$e');
+      stderr.writeln(st);
+
       // Return a general failure exit code.
       exit(1);
     }