Hi,
The catch never happen when I do a incorret sql call, I’m missing something?
Using ‘@ionic-native/sqlite’
this.database.executeSql('SELECT InvalidColum FROM TestTable', {}) //Table doesn't existss
.then(() => {
console.log('Table Invoice created !');
})
.catch(e => console.error('Error', e)); //Tested with console.log, console.warn and nothings happen to
Thanks!
@ionic/cli-utils : 1.19.0
ionic (Ionic CLI) : 3.19.0
global packages:
cordova (Cordova CLI) : 7.1.0
local packages:
@ionic/app-scripts : 3.1.2
Cordova Platforms : android 6.3.0
Ionic Framework : ionic-angular 3.9.2
System:
Android SDK Tools : 25.2.5
Node : v6.11.4
npm : 5.5.1
OS : Windows 10
Environment Variables:
ANDROID_HOME : C:\Android\android-sdk-ms
Misc:
backend : pro