Merge lp:~manishsinha/wadlsharp/fix-645173 into lp:wadlsharp

Status: Merged
Merged at revision: 19
Proposed branch: lp:~manishsinha/wadlsharp/fix-645173
Merge into: lp:wadlsharp
Diff against target: 28 lines (+3/-3)
1 file modified
WadlConsole/Program.cs (+3/-3)
To merge this branch: bzr merge lp:~manishsinha/wadlsharp/fix-645173
Reviewer Review Type Date Requested Status
Manish Sinha (मनीष सिन्हा) Approve
Review via email: mp+36897@code.launchpad.net

Commit message

When an exception is raised or an error occours, then return a non-zero value

Description of the change

When an exception is raised or an error occours, then return a non-zero value

To post a comment you must log in.
Revision history for this message
Manish Sinha (मनीष सिन्हा) (manishsinha) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'WadlConsole/Program.cs'
--- WadlConsole/Program.cs 2010-09-23 13:48:38 +0000
+++ WadlConsole/Program.cs 2010-09-28 17:29:13 +0000
@@ -142,13 +142,13 @@
142 Console.Write ("wadl-sharp: ");142 Console.Write ("wadl-sharp: ");
143 Console.WriteLine (e.Message);143 Console.WriteLine (e.Message);
144 Console.WriteLine (Resources.TryHelp);144 Console.WriteLine (Resources.TryHelp);
145 return;145 Environment.Exit(1);
146 }146 }
147147
148 if(help)148 if(help)
149 {149 {
150 ShowHelp(options);150 ShowHelp(options);
151 return;151 Environment.Exit(1);
152 }152 }
153153
154 if(!isFile)154 if(!isFile)
@@ -170,7 +170,7 @@
170 Console.Write("wadl-sharp: ");170 Console.Write("wadl-sharp: ");
171 Console.WriteLine(e.Message);171 Console.WriteLine(e.Message);
172 Console.WriteLine(Resources.TryHelp);172 Console.WriteLine(Resources.TryHelp);
173 return;173 Environment.Exit(1);
174 }174 }
175175
176 // if we did recive an output file it means that the user wanted all the code176 // if we did recive an output file it means that the user wanted all the code

Subscribers

People subscribed via source and target branches