Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1166)

Unified Diff: pkg/docgen/lib/src/viewer.dart

Issue 270993002: Added error handling and a better error message if we fail to write output in docgen. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/docgen/lib/src/generator.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/docgen/lib/src/viewer.dart
diff --git a/pkg/docgen/lib/src/viewer.dart b/pkg/docgen/lib/src/viewer.dart
index 1093a6dcf0b9ca872bbb673a2ff7ca57db651e05..b76bd9ef7ffd177440c85dfcf7521d20636362bd 100644
--- a/pkg/docgen/lib/src/viewer.dart
+++ b/pkg/docgen/lib/src/viewer.dart
@@ -128,7 +128,7 @@ void _moveDirectoryAndServe() {
if (webDocsDir.existsSync()) {
// Compile the code to JavaScript so we can run on any browser.
- print('Compile app to JavaScript for viewing.');
+ print('Compiling the app to JavaScript.');
var processResult = Process.runSync(gen.dartBinary, ['deploy.dart'],
workingDirectory: path.join(_dartdocViewerDir.path, 'client'),
runInShell: true);
@@ -141,7 +141,7 @@ void _moveDirectoryAndServe() {
void _compile() {
if (_webDocsDir.existsSync()) {
// Compile the code to JavaScript so we can run on any browser.
- print('Compile app to JavaScript for viewing.');
+ print('Compiling the app to JavaScript.');
var processResult = Process.runSync(gen.dartBinary, ['deploy.dart'],
workingDirectory: _viewerCodePath, runInShell: true);
print('process output: ${processResult.stdout}');
« no previous file with comments | « pkg/docgen/lib/src/generator.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698