mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2025-11-13 08:12:44 +10:00
fixes and patches for merged changes
This commit is contained in:
@ -1,11 +1,8 @@
|
|||||||
export default defineNuxtPlugin((nuxtApp) => {
|
export default defineNuxtPlugin((nuxtApp) => {
|
||||||
nuxtApp.vueApp.config.errorHandler = (error, instance, info) => {
|
|
||||||
// handle error, e.g. report to a service
|
|
||||||
};
|
|
||||||
|
|
||||||
// Also possible
|
// Also possible
|
||||||
nuxtApp.hook("vue:error", (error, instance, info) => {
|
nuxtApp.hook("vue:error", (error, instance, info) => {
|
||||||
|
console.log(error);
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
router.replace("/error");
|
router.replace(`/error`);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@ -22,7 +22,6 @@ use std::{
|
|||||||
};
|
};
|
||||||
use std::sync::Arc;
|
use std::sync::Arc;
|
||||||
use tauri_plugin_deep_link::DeepLinkExt;
|
use tauri_plugin_deep_link::DeepLinkExt;
|
||||||
use crate::db::DatabaseImpls;
|
|
||||||
use crate::downloads::download_agent::{GameDownloadAgent};
|
use crate::downloads::download_agent::{GameDownloadAgent};
|
||||||
|
|
||||||
#[derive(Clone, Copy, Serialize)]
|
#[derive(Clone, Copy, Serialize)]
|
||||||
|
|||||||
Reference in New Issue
Block a user