Skip to content

Commit e312005

Browse files
committed
template: log caught error on startup in main.ts in case it wasn't a network error.
1 parent 93a5bef commit e312005

File tree

1 file changed

+1
-0
lines changed
  • templates/Coalesce.Vue.Template/content/Coalesce.Starter.Vue.Web/src

1 file changed

+1
-0
lines changed

templates/Coalesce.Vue.Template/content/Coalesce.Starter.Vue.Web/src/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ refreshUserInfo()
102102
app.mount("#app");
103103
})
104104
.catch((e) => {
105+
console.error(e);
105106
alert(
106107
"Unable to contact the application server. Please refresh the page to try again.",
107108
);

0 commit comments

Comments
 (0)