OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library barback.build_result; | 5 library barback.build_result; |
6 | 6 |
7 import 'errors.dart'; | 7 import 'errors.dart'; |
8 import 'utils.dart'; | 8 import 'utils.dart'; |
9 | 9 |
10 /// An event indicating that the cascade has finished building all assets. | 10 /// An event indicating that the cascade has finished building all assets. |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 msg.write(prefixLines(error.toString())); | 52 msg.write(prefixLines(error.toString())); |
53 if (stackTrace != null) { | 53 if (stackTrace != null) { |
54 msg.write("\n\n"); | 54 msg.write("\n\n"); |
55 msg.write("Stack chain:\n"); | 55 msg.write("Stack chain:\n"); |
56 msg.write(prefixLines(stackTrace.toString())); | 56 msg.write(prefixLines(stackTrace.toString())); |
57 } | 57 } |
58 return msg.toString(); | 58 return msg.toString(); |
59 }).join("\n\n"); | 59 }).join("\n\n"); |
60 } | 60 } |
61 } | 61 } |
OLD | NEW |