##// END OF EJS Templates
Exit with status 1, not -1
David Wolever -
Show More
@@ -210,11 +210,11 b' class NbConvertApp(BaseIPythonApplication):'
210 210 print("Known exporters are:",
211 211 "\n\t" + "\n\t".join(get_export_names()),
212 212 file=sys.stderr)
213 self.exit(-1)
213 self.exit(1)
214 214 except ConversionException as e:
215 215 print("Error while converting '%s': %s" %(notebook_filename, e),
216 216 file=sys.stderr)
217 self.exit(-1)
217 self.exit(1)
218 218 # except Exception as e:
219 219 # print("Error: could not export '%s'" % notebook_filename, file=sys.stderr)
220 220 # print(e, file=sys.stderr)
General Comments 0
You need to be logged in to leave comments. Login now