i am done coding my App and i will be publishing soon. Right now, when there is an error in the app, it stops the whole app and shows StackTrace errors. please how can i stop this. i saw a solution relating to this on the nativescript website
this is what i have tried below
import * as traceModule from "tns-core-modules/trace";
const errorHandler = {
handlerError(err) {
}
};
traceModule.setErrorHandler(errorHandler);
NB: i use nativescript core (javascript)