fixes and patches for merged changes
This commit is contained in:
parent
15204718cf
commit
f6476bc804
3 changed files with 2 additions and 6 deletions
|
|
@ -1,11 +1,8 @@
|
|||
export default defineNuxtPlugin((nuxtApp) => {
|
||||
nuxtApp.vueApp.config.errorHandler = (error, instance, info) => {
|
||||
// handle error, e.g. report to a service
|
||||
};
|
||||
|
||||
// Also possible
|
||||
nuxtApp.hook("vue:error", (error, instance, info) => {
|
||||
console.log(error);
|
||||
const router = useRouter();
|
||||
router.replace("/error");
|
||||
router.replace(`/error`);
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ use std::{
|
|||
};
|
||||
use std::sync::Arc;
|
||||
use tauri_plugin_deep_link::DeepLinkExt;
|
||||
use crate::db::DatabaseImpls;
|
||||
use crate::downloads::download_agent::{GameDownloadAgent};
|
||||
|
||||
#[derive(Clone, Copy, Serialize)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue