return structured errors from commands (wip)
This commit is contained in:
@ -24,6 +24,7 @@
|
||||
}
|
||||
catch (e) {
|
||||
error = e;
|
||||
window.error = e;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -19,10 +19,6 @@
|
||||
onMount(async() => {
|
||||
status = await invoke('get_session_status');
|
||||
})
|
||||
|
||||
function blah() {
|
||||
console.log('blah');
|
||||
}
|
||||
</script>
|
||||
|
||||
<h1 class="text-4xl text-gray-300">Creddy</h1>
|
||||
|
@ -24,6 +24,7 @@
|
||||
}
|
||||
catch (e) {
|
||||
error = e;
|
||||
window.error = e;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user