Skip to content

Commit 40f86d1

Browse files
mlynchtlancina
authored andcommitted
Some exception handling
1 parent 1865912 commit 40f86d1

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

bin/ionic

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
process.title = 'ionic';
66

77
process.on('uncaughtException', function(err) {
8-
console.log('Caught exception: ' + err);
8+
console.error('Caught exception:\n', err.stack, '\n\nMind letting us know? https://github.com/driftyco/ionic-cli/issues\n');
99
});
1010

1111
var IonicCli = require('../lib/cli');

lib/ionic/start.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,13 @@ IonicTask.prototype.run = function run(ionic, argv) {
3737
// Grab the app's relative directory name
3838

3939
var isV2Start = argv.v2 || argv.v;
40+
41+
console.log('\nOne awesome Ionic app coming right up...\n'.yellow.bold);
42+
4043
if (isV2Start) {
4144

4245
Start = IonicAppLib.v2.start;
4346
} else {
44-
console.log('Starting v1 app...');
4547
Start = IonicAppLib.start;
4648
}
4749

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ionic",
3-
"version": "2.0.0-beta.7",
3+
"version": "2.0.0-beta.8",
44
"preferGlobal": true,
55
"description": "A tool for creating and developing Ionic Framework mobile apps.",
66
"homepage": "http://ionicframework.com/",

0 commit comments

Comments
 (0)