refactor(util) tryCatch