tryCatch function
Implementation
void tryCatch(Function? f) {
try {
f?.call();
} catch (e, stack) {
log('$e');
log('$stack');
}
}
void tryCatch(Function? f) {
try {
f?.call();
} catch (e, stack) {
log('$e');
log('$stack');
}
}